Search for token
- Search 9.5.x for token
- Search 8.9.x for token
- Search 10.3.x for token
- Search 11.x for token
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
SystemValidTokenTest | class | modules/ |
Test case for drupal_valid_token(). |
SystemValidTokenTest::$assertErrors | property | modules/ |
Flag to indicate whether PHP error reportings should be asserted. |
SystemValidTokenTest::errorHandler | function | modules/ |
Overrides DrupalTestCase::errorHandler(). |
SystemValidTokenTest::getInfo | function | modules/ |
|
SystemValidTokenTest::testTokenValidation | function | modules/ |
Tests invalid invocations of drupal_valid_token() that must return FALSE. |
system_tokens | function | modules/ |
Implements hook_tokens(). |
system_token_info | function | modules/ |
Implements hook_token_info(). |
taxonomy.tokens.inc | file | modules/ |
Builds placeholder replacement tokens for taxonomy terms and vocabularies. |
TaxonomyTokenReplaceTestCase | class | modules/ |
Test taxonomy token replacement in strings. |
TaxonomyTokenReplaceTestCase::$admin_user | property | modules/ |
|
TaxonomyTokenReplaceTestCase::$instance | property | modules/ |
|
TaxonomyTokenReplaceTestCase::$langcode | property | modules/ |
|
TaxonomyTokenReplaceTestCase::$vocabulary | property | modules/ |
|
TaxonomyTokenReplaceTestCase::getInfo | function | modules/ |
|
TaxonomyTokenReplaceTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement | function | modules/ |
Creates some terms and a node, then tests the tokens generated from them. |
taxonomy_tokens | function | modules/ |
Implements hook_tokens(). |
taxonomy_token_info | function | modules/ |
Implements hook_token_info(). |
token.inc | file | includes/ |
Drupal placeholder/token replacement system. |
TokenReplaceTestCase | class | modules/ |
Test token replacement in strings. |
TokenReplaceTestCase::getInfo | function | modules/ |
|
TokenReplaceTestCase::testSystemDateTokenReplacement | function | modules/ |
Tests the generation of all system date tokens. |
TokenReplaceTestCase::testSystemSiteTokenReplacement | function | modules/ |
Tests the generation of all system site information tokens. |
TokenReplaceTestCase::testSystemTokenRecognition | function | modules/ |
Test whether token-replacement works in various contexts. |
TokenReplaceTestCase::testTokenReplacement | function | modules/ |
Creates a user and a node, then tests the tokens generated from them. |
TokenScanTest | class | modules/ |
Test token replacement in strings. |
TokenScanTest::getInfo | function | modules/ |
|
TokenScanTest::testTokenScan | function | modules/ |
Scans dummy text, then tests the output. |
token_find_with_prefix | function | includes/ |
Returns a list of tokens that begin with a specific prefix. |
token_generate | function | includes/ |
Generates replacement values for a list of tokens. |
token_info | function | includes/ |
Returns metadata describing supported tokens. |
token_replace | function | includes/ |
Replaces all tokens in a given string with appropriate values. |
token_scan | function | includes/ |
Builds a list of all token-like patterns that appear in the text. |
TriggerActionTestCase::assertSystemEmailTokenReplacement | function | modules/ |
Asserts correct token replacement for the given trigger and account. |
TriggerActionTestCase::assertSystemMessageAndEmailTokenReplacement | function | modules/ |
Asserts correct token replacement in both system message and email. |
TriggerActionTestCase::assertSystemMessageTokenReplacement | function | modules/ |
Asserts correct token replacement for the given trigger and account. |
TriggerActionTestCase::generateMessageWithTokens | function | modules/ |
Creates a message with tokens. |
TriggerActionTestCase::generateTokenExpandedComparison | function | modules/ |
Generates a comparison message to match the pre-token-replaced message. |
TriggerUserTokenTestCase | class | modules/ |
Tests token substitution in trigger actions. |
TriggerUserTokenTestCase::getInfo | function | modules/ |
|
TriggerUserTokenTestCase::testUserTriggerTokenReplacement | function | modules/ |
Tests a variety of token replacements in actions. |
user.tokens.inc | file | modules/ |
Builds placeholder replacement tokens for user-related data. |
UserTokenReplaceTestCase | class | modules/ |
Test user token replacement in strings. |
UserTokenReplaceTestCase::getInfo | function | modules/ |
|
UserTokenReplaceTestCase::testAnonymousUserTokenReplacement | function | modules/ |
Uses an anonymous user, then tests the tokens generated from it. |
UserTokenReplaceTestCase::testUserTokenReplacement | function | modules/ |
Creates a user, then tests the tokens generated from it. |
UserUpgradePathNoPasswordTokenTestCase | class | modules/ |
Upgrade test for user.module (password token not involved). |
UserUpgradePathNoPasswordTokenTestCase::getInfo | function | modules/ |
|
UserUpgradePathNoPasswordTokenTestCase::setUp | function | modules/ |
Overrides DrupalWebTestCase::setUp() for upgrade testing. |
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrade | function | modules/ |
Test a successful upgrade. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.