public Token::generate($type, array $tokens, array $data, array $options, BubbleableMetadata
The language manager. Type:
Token definitions. An array of token definitions, or NULL when the definitions are not set. Type:
The tag to cache token info with. File core/lib/Drupal/Core/Utility/Token.php, line 65
public Token::resetInfo() Resets metadata describing
The module handler service. Type:
public Token::setInfo(array $tokens) Sets metadata
public Token::scan($text) Builds a list of all
Drupal placeholder/token replacement system. API functions for replacing placeholders in text with meaningful values. For
public Token::replace($text, array $data = array(), array $options = array(), BubbleableMetadata
Page 1 of 2