commerce-8.x-2.8/src/Event/CommerceEvents.php
src/Event/CommerceEvents.php
<?php
namespace Drupal\commerce\Event;
/**
* Defines events for the base Commerce module.
*
* Note that submodules have their own defined events.
*/
final class CommerceEvents {
/**
* Name of the event fired when filtering available conditions.
*
* @Event
*
* @see \Drupal\commerce\Event\FilterConditionsEvent
*/
const FILTER_CONDITIONS = 'commerce.filter_conditions';
/**
* Name of the event fired when altering the referenceable plugin types.
*
* @Event
*
* @see \Drupal\commerce\Event\ReferenceablePluginTypesEvent.php
*/
const REFERENCEABLE_PLUGIN_TYPES = 'commerce.referenceable_plugin_types';
}
