function CourierContext::getTokens in Courier 8
Same name and namespace in other branches
- 2.x 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 - Contains \Drupal\courier\Entity\CourierContext.
Class
- CourierContext
- Defines a courier_context configuration entity.
Namespace
Drupal\courier\EntityCode
function getTokens() {
return array_merge($this->tokens, [
'identity',
]);
}