X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FToken%2FEvents.php;h=4f17c09f5441cf34c4fe664b64590e353f976499;hb=5b394c8f531cb30eccf5507bf7c08997603bf217;hp=7c7869ef0951b1482faba8965b423316c1e748e4;hpb=3cdd71aaf5ce76ecc5a988de847ef6a49c85ebec;p=civicrm-core.git diff --git a/Civi/Token/Events.php b/Civi/Token/Events.php index 7c7869ef09..4f17c09f54 100644 --- a/Civi/Token/Events.php +++ b/Civi/Token/Events.php @@ -4,28 +4,20 @@ namespace Civi\Token; class Events { /** - * Create a list of supported tokens. - * * @see \Civi\Token\Event\TokenRegisterEvent + * @deprecated - You may simply use the event name directly. dev/core#1744 */ const TOKEN_REGISTER = 'civi.token.list'; /** - * Create a list of supported tokens. - * * @see \Civi\Token\Event\TokenValueEvent + * @deprecated - You may simply use the event name directly. dev/core#1744 */ 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 + * @deprecated - You may simply use the event name directly. dev/core#1744 */ const TOKEN_RENDER = 'civi.token.render';