Spaces:
No application file
No application file
File size: 4,962 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
<?php
namespace Mautic\CoreBundle;
final class CoreEvents
{
/**
* The mautic.build_menu event is thrown to render menu items.
*
* The event listener receives a Mautic\CoreBundle\Event\MenuEvent instance.
*
* @var string
*/
public const BUILD_MENU = 'mautic.build_menu';
/**
* The mautic.build_route event is thrown to build Mautic bundle routes.
*
* The event listener receives a Mautic\CoreBundle\Event\RouteEvent instance.
*
* @var string
*/
public const BUILD_ROUTE = 'mautic.build_route';
/**
* The mautic.global_search event is thrown to build global search results from applicable bundles.
*
* The event listener receives a Mautic\CoreBundle\Event\GlobalSearchEvent instance.
*
* @var string
*/
public const GLOBAL_SEARCH = 'mautic.global_search';
/**
* The mautic.list_stats event is thrown to build statistical results from applicable bundles/database tables.
*
* The event listener receives a Mautic\CoreBundle\Event\StatsEvent instance.
*
* @var string
*/
public const LIST_STATS = 'mautic.list_stats';
/**
* The mautic.build_command_list event is thrown to build global search's autocomplete list.
*
* The event listener receives a Mautic\CoreBundle\Event\CommandListEvent instance.
*
* @var string
*/
public const BUILD_COMMAND_LIST = 'mautic.build_command_list';
/**
* The mautic.on_fetch_icons event is thrown to fetch icons of menu items.
*
* The event listener receives a Mautic\CoreBundle\Event\IconEvent instance.
*
* @var string
*/
public const FETCH_ICONS = 'mautic.on_fetch_icons';
/**
* The mautic.pre_upgrade is dispatched before an upgrade.
*
* The event listener receives a Mautic\CoreBundle\Event\UpgradeEvent instance.
*
* @var string
*/
public const PRE_UPGRADE = 'mautic.pre_upgrade';
/**
* The mautic.post_upgrade is dispatched after an upgrade.
*
* The event listener receives a Mautic\CoreBundle\Event\UpgradeEvent instance.
*
* @var string
*/
public const POST_UPGRADE = 'mautic.post_upgrade';
/**
* The mautic.build_embeddable_js event is dispatched to allow plugins to extend the mautic tracking js.
*
* The event listener receives a Mautic\CoreBundle\Event\BuildJsEvent instance.
*
* @var string
*/
public const BUILD_MAUTIC_JS = 'mautic.build_embeddable_js';
/**
* The mautic.maintenance_cleanup_data event is dispatched to purge old data.
*
* The event listener receives a Mautic\CoreBundle\Event\MaintenanceEvent instance.
*
* @var string
*/
public const MAINTENANCE_CLEANUP_DATA = 'mautic.maintenance_cleanup_data';
/**
* The mautic.view_inject_custom_buttons event is dispatched to inject custom buttons into Mautic's UI by plugins/other bundles.
*
* The event listener receives a Mautic\CoreBundle\Event\CustomButtonEvent instance.
*
* @var string
*/
public const VIEW_INJECT_CUSTOM_BUTTONS = 'mautic.view_inject_custom_buttons';
/**
* The mautic.view_inject_custom_content event is dispatched by views to collect custom content to be injected in UIs.
*
* The event listener receives a Mautic\CoreBundle\Event\CustomContentEvent instance.
*
* @var string
*/
public const VIEW_INJECT_CUSTOM_CONTENT = 'mautic.view_inject_custom_content';
/**
* The mautic.view_inject_custom_template event is dispatched when a template is to be rendered giving opportunity to change template or
* vars.
*
* The event listener receives a Mautic\CoreBundle\Event\CustomTemplateEvent instance.
*
* @var string
*/
public const VIEW_INJECT_CUSTOM_TEMPLATE = 'mautic.view_inject_custom_template';
/**
* The mautic.view_inject_custom_assets event is dispatched when assets are rendered.
*
* The event listener receives a Mautic\CoreBundle\Event\CustomAssetsEvent instance.
*
* @var string
*/
public const VIEW_INJECT_CUSTOM_ASSETS = 'mautic.view_inject_custom_assets';
/**
* The mautic.on_form_type_build event is dispatched by views to inject custom fields into any form.
*
* The event listener receives a Mautic\CoreBundle\Event\CustomFormEvent instance.
*
* @var string
*
* @deprecated since Mautic 4 because it is not used anywhere
*/
public const ON_FORM_TYPE_BUILD = 'mautic.on_form_type_build';
/**
* The mautic.on_generated_columns_build event is dispatched when a list of generated columns is being built.
*
* The event listener receives a Mautic\CoreBundle\Event\GeneratedColumnsEvent instance.
*
* @var string
*/
public const ON_GENERATED_COLUMNS_BUILD = 'mautic.on_generated_columns_build';
}
|