First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
32
sites/all/modules/civicrm/Civi/Token/Events.php
Normal file
32
sites/all/modules/civicrm/Civi/Token/Events.php
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
namespace Civi\Token;
|
||||
|
||||
class Events {
|
||||
/**
|
||||
* Create a list of supported tokens.
|
||||
*
|
||||
* @see \Civi\Token\Event\TokenRegisterEvent
|
||||
*/
|
||||
const TOKEN_REGISTER = 'civi.token.list';
|
||||
|
||||
/**
|
||||
* Create a list of supported tokens.
|
||||
*
|
||||
* @see \Civi\Token\Event\TokenValueEvent
|
||||
*/
|
||||
const TOKEN_EVALUATE = 'civi.token.eval';
|
||||
|
||||
/**
|
||||
* Perform post-processing on a rendered message.
|
||||
*
|
||||
* WARNING: It is difficult to develop robust,
|
||||
* secure code using this stage. However, we need
|
||||
* to support it during a transitional period
|
||||
* while the token logic is reorganized.
|
||||
*
|
||||
* @see \Civi\Token\Event\TokenRenderEvent
|
||||
*/
|
||||
const TOKEN_RENDER = 'civi.token.render';
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue