You are here

Classes, traits, and interfaces in Token 8

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
ArrayTest class Drupal\Tests\token\Kernel tests/src/Kernel/ArrayTest.php Tests array tokens.
AutocompleteTest class Drupal\Tests\token\Functional\Tree tests/src/Functional/Tree/AutocompleteTest.php Test token autocomplete.
BookTest class Drupal\Tests\token\Kernel tests/src/Kernel/BookTest.php Test the book tokens.
CommentTest class Drupal\Tests\token\Kernel tests/src/Kernel/CommentTest.php Tests comment tokens.
DateTest class Drupal\Tests\token\Kernel tests/src/Kernel/DateTest.php Tests date tokens.
DevelLocalTask class Drupal\token\Plugin\Derivative src/Plugin/Derivative/DevelLocalTask.php 1
EntityTest class Drupal\Tests\token\Kernel tests/src/Kernel/EntityTest.php Tests entity tokens.
FieldTest class Drupal\Tests\token\Kernel tests/src/Kernel/FieldTest.php Tests field tokens.
FileTest class Drupal\Tests\token\Kernel tests/src/Kernel/FileTest.php Tests file tokens.
HelpPageTest class Drupal\Tests\token\Functional\Tree tests/src/Functional/Tree/HelpPageTest.php Tests token tree on help page.
KernelTestBase abstract class Drupal\Tests\token\Kernel tests/src/Kernel/KernelTestBase.php Helper test class with some added functions for testing. 14
LanguageTest class Drupal\Tests\token\Kernel tests/src/Kernel/LanguageTest.php Tests language tokens.
MenuLinkFieldItemList class Drupal\token src/MenuLinkFieldItemList.php Defines a menu link list class for storen menu link information.
MockLanguageManager class Drupal\Tests\token\Kernel tests/src/Kernel/MockLanguageManager.php A language manager that can be easily overridden for testing purposes.
NodeTest class Drupal\Tests\token\Kernel tests/src/Kernel/NodeTest.php Test the node and content type tokens.
RandomTest class Drupal\Tests\token\Kernel tests/src/Kernel/RandomTest.php Tests random tokens.
RouteSubscriber class Drupal\token\Routing src/Routing/RouteSubscriber.php Subscriber for Devel routes. 2
TaxonomyTest class Drupal\Tests\token\Kernel tests/src/Kernel/TaxonomyTest.php Tests taxonomy tokens.
Token class Drupal\token src/Token.php Service to retrieve token information.
TokenAutocompleteController class Drupal\token\Controller src/Controller/TokenAutocompleteController.php Returns autocomplete responses for tokens.
TokenBlockTest class Drupal\Tests\token\Functional tests/src/Functional/TokenBlockTest.php Tests block tokens.
TokenCacheController class Drupal\token\Controller src/Controller/TokenCacheController.php Clears cache for tokens.
TokenCommands class Drupal\token\Commands src/Commands/TokenCommands.php TokenCommands provides the Drush hook implementation for cache clears. 2
TokenCurrentPageTest class Drupal\Tests\token\Functional tests/src/Functional/TokenCurrentPageTest.php Test the [current-page:*] tokens.
TokenDevelController class Drupal\token\Controller src/Controller/TokenDevelController.php Devel integration for tokens.
TokenEntityMapper class Drupal\token src/TokenEntityMapper.php Service to provide mappings between entity and token types. 2
TokenEntityMapperInterface interface Drupal\token src/TokenEntityMapperInterface.php 1 1
TokenFieldRender class Drupal\token src/TokenFieldRender.php
TokenFieldUiTest class Drupal\Tests\token\Functional tests/src/Functional/TokenFieldUiTest.php Tests field ui.
TokenInterface interface Drupal\token src/TokenInterface.php 1 1
TokenMenuTest class Drupal\Tests\token\Functional tests/src/Functional/TokenMenuTest.php Tests menu tokens.
TokenMenuUiContentModerationTest class Drupal\Tests\token\Functional tests/src/Functional/TokenMenuUiContentModerationTest.php Tests Menu UI and Content Moderation integration.
TokenServiceProvider class Drupal\token src/TokenServiceProvider.php Replace core's token service with our own.
TokenTestBase abstract class Drupal\Tests\token\Functional tests/src/Functional/TokenTestBase.php Helper test class with some added functions for testing. 9 3
TokenTestTrait trait Drupal\Tests\token\Functional tests/src/Functional/TokenTestTrait.php Helper test trait with some added functions for testing. 1
TokenTreeBrowseController class Drupal\token_module_test\Controller tests/modules/token_module_test/src/Controller/TokenTreeBrowseController.php Controller for token module test.
TokenTreeController class Drupal\token\Controller src/Controller/TokenTreeController.php Returns tree responses for tokens.
TokenTreeTable class Drupal\token\Element src/Element/TokenTreeTable.php Provides a render element for a token tree table.
TokenTreeTestTrait trait Drupal\Tests\token\Functional\Tree tests/src/Functional/Tree/TokenTreeTestTrait.php Helper trait to assert tokens in token tree browser.
TokenURLTest class Drupal\Tests\token\Functional tests/src/Functional/TokenURLTest.php Tests url tokens.
TokenUserTest class Drupal\Tests\token\Functional tests/src/Functional/TokenUserTest.php Tests user tokens.
TreeBuilder class Drupal\token src/TreeBuilder.php 2
TreeBuilderInterface interface Drupal\token src/TreeBuilderInterface.php 1 3
TreeTest class Drupal\Tests\token\Functional\Tree tests/src/Functional/Tree/TreeTest.php Tests token tree page.
UnitTest class Drupal\Tests\token\Kernel tests/src/Kernel/UnitTest.php Test basic, low-level token functions.
UrlTest class Drupal\Tests\token\Functional tests/src/Functional/UrlTest.php Tests URL tokens.
UrlTest class Drupal\Tests\token\Kernel tests/src/Kernel/UrlTest.php Test generic url token replacements.
ViewsTest class Drupal\Tests\token\Kernel tests/src/Kernel/ViewsTest.php Test the views tokens.

Other projects