Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
token.inc
»
token_generate
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
10 calls to token_generate()
comment_tokens
in drupal/
core/
modules/
comment/
comment.tokens.inc
Implements
hook_tokens
().
hook_tokens
in drupal/
core/
modules/
system/
system.api.php
Provide replacement values for placeholder tokens.
node_tokens
in drupal/
core/
modules/
node/
node.tokens.inc
Implements
hook_tokens
().
statistics_tokens
in drupal/
core/
modules/
statistics/
statistics.tokens.inc
Implements
hook_tokens
().
system_tokens
in drupal/
core/
modules/
system/
system.tokens.inc
Implements
hook_tokens
().
taxonomy_tokens
in drupal/
core/
modules/
taxonomy/
taxonomy.tokens.inc
Implements
hook_tokens
().
TokenReplaceTest::testTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Creates a user and a node, then tests the tokens generated from them.
token_replace
in drupal/
core/
includes/
token.inc
Replaces all tokens in a given string with appropriate values.
user_tokens
in drupal/
core/
modules/
user/
user.tokens.inc
Implements
hook_tokens
().
views_tokens
in drupal/
core/
modules/
views/
views.tokens.inc
Implements
hook_tokens
().