public function AuthorizationProfile::getTokens in Authorization 8
Return global tokens for output regarding this profile.
Return value
array Token strings.
File
- src/
Entity/ AuthorizationProfile.php, line 384
Class
- AuthorizationProfile
- Defines the Authorization profile entity.
Namespace
Drupal\authorization\EntityCode
public function getTokens() : array {
$tokens = [];
$tokens['@profile_name'] = $this->label;
return $tokens;
}