token

Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \token
  2. 10 core/core.services.yml \token

Class

Drupal\Core\Utility\Token
20 string references to token
BatchStorage::schemaDefinition in core/lib/Drupal/Core/Batch/BatchStorage.php
Defines the schema for the batch table.
ContentTranslationHandler::entityFormSharedElements in core/modules/content_translation/src/ContentTranslationHandler.php
Process callback: determines which elements get clue in the form.
ContentTranslationHandlerTest::providerTestEntityFormSharedElements in core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php
Returns test cases for ::testEntityFormSharedElements().
CsrfAccessCheck::access in core/lib/Drupal/Core/Access/CsrfAccessCheck.php
Checks access based on a CSRF token for the request.
drupal7.php in core/modules/rdf/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Utility\Token
  2. arguments:
  3. - '@module_handler'
  4. - '@cache.default'
  5. - '@language_manager'
  6. - '@cache_tags.invalidator'
  7. - '@renderer'

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