* @return array
*/
public static function eventTokens(): array {
+ CRM_Core_Error::deprecatedFunctionWarning('token processor');
$tokenProcessor = new TokenProcessor(Civi::dispatcher(), ['schema' => ['eventId']]);
$allTokens = $tokenProcessor->listTokens();
foreach (array_keys($allTokens) as $token) {
$mut = new CiviMailUtils($this);
$this->setupParticipantScheduledReminder();
- $tokens = CRM_Core_SelectValues::eventTokens();
- $this->assertEquals(array_merge($this->getEventTokens()), $tokens);
+ $tokens = array_merge($this->getEventTokens());
$tokenProcessor = new TokenProcessor(\Civi::dispatcher(), [
'controller' => __CLASS__,
'smarty' => FALSE,