public function TokenInterface::getTypeInfo in Token 8
Returns metadata describing supported token types.
Parameters
$token_type: The token type for which the metadata is required.
Return value
array[] An array of token type information from hook_token_info() for the specified token type.
See also
1 method overrides TokenInterface::getTypeInfo()
- Token::getTypeInfo in src/
Token.php - Returns metadata describing supported token types.
File
- src/
TokenInterface.php, line 20
Class
Namespace
Drupal\tokenCode
public function getTypeInfo($token_type);