You are here

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

hook_token_info()

hook_token_info_alter()

1 method overrides TokenInterface::getTypeInfo()
Token::getTypeInfo in src/Token.php
Returns metadata describing supported token types.

File

src/TokenInterface.php, line 20

Class

TokenInterface

Namespace

Drupal\token

Code

public function getTypeInfo($token_type);