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_replace
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
24 calls to token_replace()
action_goto_action
in drupal/
core/
modules/
action/
action.module
Redirects to a different URL.
action_message_action
in drupal/
core/
modules/
action/
action.module
Sends a message to the current user's screen.
action_send_email_action
in drupal/
core/
modules/
action/
action.module
Sends an e-mail message.
AreaTest::testRenderAreaToken
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
AreaTest.php
Tests global tokens.
CommentTokenReplaceTest::testCommentTokenReplacement
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
FileFieldPathTest::testUploadPath
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldPathTest.php
Tests the normal formatter display on node display.
FileTokenReplaceTest::testFileTokenReplacement
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
file_field_widget_uri
in drupal/
core/
modules/
file/
file.field.inc
Determines the URI for a file field instance.
link_field_formatter_view
in drupal/
core/
modules/
field/
modules/
link/
link.module
Implements hook_field_formatter_view().
NodeTokenReplaceTest::testNodeTokenReplacement
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
PluginBase::globalTokenReplace
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
PluginBase.php
Returns a string with any core tokens replaced.
PollTokenReplaceTest::testPollTokenReplacement
in drupal/
core/
modules/
poll/
lib/
Drupal/
poll/
Tests/
PollTokenReplaceTest.php
Creates a poll, then tests the tokens generated from it.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement
in drupal/
core/
modules/
statistics/
lib/
Drupal/
statistics/
Tests/
StatisticsTokenReplaceTest.php
Creates a node, then tests the statistics tokens generated from it.
system_mail
in drupal/
core/
modules/
system/
system.module
Implements
hook_mail
().
TokenReplaceTest::testSystemDateTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Tests the generation of all system date tokens.
TokenReplaceTest::testSystemSiteTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Tests the generation of all system site information tokens.
TokenReplaceTest::testSystemTokenRecognition
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Test whether token-replacement works in various contexts.
TokenReplaceTest::testTaxonomyTokenReplacement
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
TokenReplaceTest.php
Creates some terms and a node, then tests the tokens generated from them.
TokenReplaceTest::testTokenReplacement
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
TokenReplaceTest.php
Tests core token replacements generated from a view.
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.
UserTokenReplaceTest::testUserTokenReplacement
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserTokenReplaceTest.php
Creates a user, then tests the tokens generated from it.
WidgetBase::form
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
Type/
Widget/
WidgetBase.php
Implements
Drupal\field\Plugin\Type\Widget\WidgetInterface::form
().
WidgetBase::formMultipleElements
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
Type/
Widget/
WidgetBase.php
Special handling to create form elements for multiple values.
_user_mail_text
in drupal/
core/
modules/
user/
user.module
Returns a mail string for a variable name.