projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #16967 from wmortada/wp#46-2
[civicrm-core.git]
/
Civi
/
Token
/
Events.php
diff --git
a/Civi/Token/Events.php
b/Civi/Token/Events.php
index 7c7869ef0951b1482faba8965b423316c1e748e4..4f17c09f5441cf34c4fe664b64590e353f976499 100644
(file)
--- a/
Civi/Token/Events.php
+++ b/
Civi/Token/Events.php
@@
-4,28
+4,20
@@
namespace Civi\Token;
class Events {
/**
class Events {
/**
- * Create a list of supported tokens.
- *
* @see \Civi\Token\Event\TokenRegisterEvent
* @see \Civi\Token\Event\TokenRegisterEvent
+ * @deprecated - You may simply use the event name directly. dev/core#1744
*/
const TOKEN_REGISTER = 'civi.token.list';
/**
*/
const TOKEN_REGISTER = 'civi.token.list';
/**
- * Create a list of supported tokens.
- *
* @see \Civi\Token\Event\TokenValueEvent
* @see \Civi\Token\Event\TokenValueEvent
+ * @deprecated - You may simply use the event name directly. dev/core#1744
*/
const TOKEN_EVALUATE = 'civi.token.eval';
/**
*/
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
* @see \Civi\Token\Event\TokenRenderEvent
+ * @deprecated - You may simply use the event name directly. dev/core#1744
*/
const TOKEN_RENDER = 'civi.token.render';
*/
const TOKEN_RENDER = 'civi.token.render';