service token in Drupal 8
Same name and namespace in other branches
- 9 core/core.services.yml \token
Class
Drupal\Core\Utility\Token14 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.
- DrupalTest::testToken in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the token() method.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Utility\Token
- arguments:
- - '@module_handler'
- - '@cache.default'
- - '@language_manager'
- - '@cache_tags.invalidator'
- - '@renderer'