Search for replace

  1. Search 7.x for replace
  2. Search 9.5.x for replace
  3. Search 8.9.x for replace
  4. Search 10.3.x for replace
  5. Other projects
Title Object type File name Summary
StorageReplaceDataWrapperTest::testCreateCollection function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Tests if new collections created correctly.
StorageReplaceDataWrapperTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Tests an invalid storage.
StorageReplaceDataWrapperTest::update function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
TestController::tokenReplace function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Provides a token replacement with a node as well as the current user.
TestController::tokenReplaceWithoutPassedBubbleableMetadata function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Provides a token replacement with a node as well as the current user.
TestPluginBase::viewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Replaces Views' tokens in a given string.
Token::doReplace function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given string with appropriate values.
Token::replace function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in given markup with appropriate values.
Token::replacePlain function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given plain text string with appropriate values.
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::$modules property core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php Modules to install.
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/views/tests/src/Kernel/TokenReplaceTest.php Tests core view token replacement.
TokenReplaceTest class core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Tests taxonomy token replacement.
TokenReplaceTest.php file core/modules/views/tests/src/Kernel/TokenReplaceTest.php
TokenReplaceTest.php file core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php
TokenReplaceTest::$fieldName property core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Name of the taxonomy term reference field.
TokenReplaceTest::$modules property core/modules/views/tests/src/Kernel/TokenReplaceTest.php Modules to install.
TokenReplaceTest::$modules property core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Modules to install.
TokenReplaceTest::$testViews property core/modules/views/tests/src/Kernel/TokenReplaceTest.php Views used by this test.
TokenReplaceTest::$vocabulary property core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php The vocabulary used for creating terms.
TokenReplaceTest::setUp function core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php
TokenReplaceTest::testTaxonomyTokenReplacement function core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php Creates some terms and a node, then tests the tokens generated from them.
TokenReplaceTest::testTokenReplacement function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view.
TokenReplaceTest::testTokenReplacementNoPath function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests path token replacements generated from a view without a path.
TokenReplaceTest::testTokenReplacementNoResults function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view without results.
TokenReplaceTest::testTokenReplacementWithMiniPager function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core token replacements generated from a view.
TokenReplaceTest::testTokenReplacementWithSpecificNumberOfItems function core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests token replacement of [view:total-rows] when pager is disabled.
TokenReplaceWebTest class core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Tests the token system integration.
TokenReplaceWebTest.php file core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
TokenReplaceWebTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php The theme to install as the default for testing.
TokenReplaceWebTest::$modules property core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Modules to install.
TokenReplaceWebTest::testTokens function core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php Tests a token replacement on an actual website.
TokenTest::providerTestReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::testReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
@dataProvider providerTestReplaceEscaping
TokenTest::testReplacePlain function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replacePlain
TokenTest::testReplaceWithBubbleableMetadataObject function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
@covers ::replace
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
TypedConfigManager::getDefinitionWithReplacements function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets a schema definition with replacements for dynamic type names.

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