Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
Token::replacePlain function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given plain text string with appropriate values.
Token::resetInfo function core/lib/Drupal/Core/Utility/Token.php Resets metadata describing supported tokens.
Token::scan function core/lib/Drupal/Core/Utility/Token.php Builds a list of all token-like patterns that appear in the text.
Token::setInfo function core/lib/Drupal/Core/Utility/Token.php Sets metadata describing supported tokens.
Token::TOKEN_INFO_CACHE_TAG constant core/lib/Drupal/Core/Utility/Token.php The tag to cache token info with.
Token::valueCallback function core/lib/Drupal/Core/Render/Element/Token.php
Token::__construct function core/lib/Drupal/Core/Utility/Token.php Constructs a new class instance.
TokenHooks class core/modules/file/src/Hook/TokenHooks.php Hook implementations for file tokens.
TokenHooks.php file core/modules/file/src/Hook/TokenHooks.php
TokenHooks::tokenInfo function core/modules/file/src/Hook/TokenHooks.php Implements hook_token_info().
TokenHooks::tokens function core/modules/file/src/Hook/TokenHooks.php Implements hook_tokens().
TokenHooks::__construct function core/modules/file/src/Hook/TokenHooks.php
TokenizeAreaPluginBase class core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Tokenized base class for area handlers.
TokenizeAreaPluginBase.php file core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php
TokenizeAreaPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php
TokenizeAreaPluginBase::defineOptions function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php
TokenizeAreaPluginBase::tokenForm function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Adds tokenization form elements.
TokenizeAreaPluginBase::tokenizeValue function core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php Replaces value with special views tokens and global tokens.
TokenizeAreaUITest class core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php Tests the token display for the TokenizeAreaPluginBase UI.
TokenizeAreaUITest.php file core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
TokenizeAreaUITest::$defaultTheme property core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
TokenizeAreaUITest::$modules property core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
TokenizeAreaUITest::testTokenUI function core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php Tests that the right tokens are shown as available for replacement.
TokenParser class core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Parses a file for namespaces/use/class declarations.
TokenParser.php file core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php This class is a near-copy of Doctrine\Common\Annotations\TokenParser, which
is part of the Doctrine project: <http://www.doctrine-project.org>. It was
copied from version 2.0.2.
TokenParser::$numTokens property core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php The number of tokens.
TokenParser::$pointer property core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php The current array pointer.
TokenParser::$tokens property core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php The token list.
TokenParser::next function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Gets the next non whitespace and non comment token.
TokenParser::parseClass function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Gets the class name.
TokenParser::parseNamespace function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Gets the namespace.
TokenParser::parseUseStatement function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Parses a single use statement.
TokenParser::parseUseStatements function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Gets all use statements.
TokenParser::__construct function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php
TokenReplaceKernelTest class core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests token replacement.
TokenReplaceKernelTest.php file core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
TokenReplaceKernelTest::setUp function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
TokenReplaceKernelTest::testClear function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the clear parameter.
TokenReplaceKernelTest::testSystemDateTokenReplacement function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the generation of all system date tokens.
TokenReplaceKernelTest::testSystemSiteTokenReplacement function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the generation of all system site information tokens.
TokenReplaceKernelTest::testSystemTokenRecognition function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests whether token-replacement works in various contexts.
TokenReplaceKernelTestBase class core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php Base class for token replacement tests.
TokenReplaceKernelTestBase.php file core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
TokenReplaceKernelTestBase::$interfaceLanguage property core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php The interface language.
TokenReplaceKernelTestBase::$tokenService property core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php Token service.
TokenReplaceKernelTestBase::setUp function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
TokenReplaceTest class core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Tests taxonomy token replacement.
TokenReplaceTest class core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core view token replacement.
TokenReplaceTest.php file core/modules/views/tests/src/Kernel/TokenReplaceTest.php
TokenReplaceTest.php file core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.