- Correct getChoices() docblock to reflect translated label => enum backing value order instead of value => label - Re-indent Smart Links menu config to match actual array nesting - Align assignment operators in RefreshStatsCommand - Add missing newline at end of RefreshStatsCommand.php
33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace MauticPlugin\MT3SMarketingProgramBundle\Event;
|
|
|
|
/**
|
|
* The plugin's event names. Dispatched by ProgramModel with a ProgramEvent payload.
|
|
*/
|
|
final class MT3SMarketingProgramEvents
|
|
{
|
|
/** Before a program is written to the database. */
|
|
public const PROGRAM_PRE_SAVE = 'mt3s.marketing_program.pre_save';
|
|
|
|
/** After a program was written to the database. */
|
|
public const PROGRAM_POST_SAVE = 'mt3s.marketing_program.post_save';
|
|
|
|
/** After a program was created (a POST_SAVE with a brand-new record). */
|
|
public const PROGRAM_CREATED = 'mt3s.marketing_program.created';
|
|
|
|
/** After an existing program was updated. */
|
|
public const PROGRAM_UPDATED = 'mt3s.marketing_program.updated';
|
|
|
|
/** Before a program (and its children) is removed from the database. */
|
|
public const PROGRAM_PRE_DELETE = 'mt3s.marketing_program.pre_delete';
|
|
|
|
/** After a program was removed from the database. */
|
|
public const PROGRAM_POST_DELETE = 'mt3s.marketing_program.post_delete';
|
|
|
|
/** After a program was removed from the database. */
|
|
public const PROGRAM_DELETED = 'mt3s.marketing_program.deleted';
|
|
}
|