public function CourierContext::getTokens in Courier 2.x
Same name and namespace in other branches
- 8 src/Entity/CourierContext.php \Drupal\courier\Entity\CourierContext::getTokens()
Get token names.
Return value
array An array of tokens names.
Overrides CourierContextInterface::getTokens
File
- src/
Entity/ CourierContext.php, line 52
Class
- CourierContext
- Defines a courier_context configuration entity.
Namespace
Drupal\courier\EntityCode
public function getTokens() {
return array_merge($this->tokens, [
'identity',
]);
}