Spaces:
No application file
No application file
namespace Mautic\CategoryBundle; | |
/** | |
* Events available for CategoryBundle. | |
*/ | |
final class CategoryEvents | |
{ | |
/** | |
* The mautic.category_pre_save event is thrown right before a category is persisted. | |
* | |
* The event listener receives a | |
* Mautic\CategoryBundle\Event\CategoryEvent instance. | |
* | |
* @var string | |
*/ | |
public const CATEGORY_PRE_SAVE = 'mautic.category_pre_save'; | |
/** | |
* The mautic.category_post_save event is thrown right after a category is persisted. | |
* | |
* The event listener receives a | |
* Mautic\CategoryBundle\Event\CategoryEvent instance. | |
* | |
* @var string | |
*/ | |
public const CATEGORY_POST_SAVE = 'mautic.category_post_save'; | |
/** | |
* The mautic.category_pre_delete event is thrown prior to when a category is deleted. | |
* | |
* The event listener receives a | |
* Mautic\CategoryBundle\Event\CategoryEvent instance. | |
* | |
* @var string | |
*/ | |
public const CATEGORY_PRE_DELETE = 'mautic.category_pre_delete'; | |
/** | |
* The mautic.category_post_delete event is thrown after a category is deleted. | |
* | |
* The event listener receives a | |
* Mautic\CategoryBundle\Event\CategoryEvent instance. | |
* | |
* @var string | |
*/ | |
public const CATEGORY_POST_DELETE = 'mautic.category_post_delete'; | |
/** | |
* The mautic.category_on_bundle_list_build event is thrown when a list of bundles supporting categories is build. | |
* | |
* The event listener receives a | |
* Mautic\CategoryBundle\Event\CategoryTypesEvent instance. | |
* | |
* @var string | |
*/ | |
public const CATEGORY_ON_BUNDLE_LIST_BUILD = 'mautic.category_on_bundle_list_build'; | |
} | |