Search for replace

  1. Search 7.x for replace
  2. Search 8.9.x for replace
  3. Search 10.3.x for replace
  4. Search 11.x for replace
  5. Other projects
Title Object type File name Summary
TokenReplaceTest class core/modules/views/tests/src/Kernel/TokenReplaceTest.php Tests core view token replacement.
TokenReplaceTest class core/modules/taxonomy/tests/src/Functional/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/Functional/TokenReplaceTest.php
TokenReplaceTest::$defaultTheme property core/modules/taxonomy/tests/src/Functional/TokenReplaceTest.php The theme to install as the default for testing.
TokenReplaceTest::$fieldName property core/modules/taxonomy/tests/src/Functional/TokenReplaceTest.php Name of the taxonomy term reference field.
TokenReplaceTest::$modules property core/modules/views/tests/src/Kernel/TokenReplaceTest.php Modules to enable.
TokenReplaceTest::$testViews property core/modules/views/tests/src/Kernel/TokenReplaceTest.php Views used by this test.
TokenReplaceTest::$vocabulary property core/modules/taxonomy/tests/src/Functional/TokenReplaceTest.php The vocabulary used for creating terms.
TokenReplaceTest::setUp function core/modules/taxonomy/tests/src/Functional/TokenReplaceTest.php
TokenReplaceTest::testTaxonomyTokenReplacement function core/modules/taxonomy/tests/src/Functional/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.
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 enable.
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 names.
TypedConfigManager::replaceName function core/lib/Drupal/Core/Config/TypedConfigManager.php Replaces variables in configuration name.
TypedConfigManager::replaceVariable function core/lib/Drupal/Core/Config/TypedConfigManager.php Replaces variable values in included names with configuration data.
UpdatePathTestBase::replaceUser1 function core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php Replace User 1 with the user created here.
UpdatePathTestBaseFilledTest::replaceUser1 function core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php Replace User 1 with the user created here.
UserTokenReplaceTest class core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Tests the replacement of user tokens.
UserTokenReplaceTest.php file core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
UserTokenReplaceTest::$defaultTheme property core/modules/user/tests/src/Functional/UserTokenReplaceTest.php The theme to install as the default for testing.
UserTokenReplaceTest::$modules property core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Modules to enable.
UserTokenReplaceTest::setUp function core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
UserTokenReplaceTest::testUserTokenReplacement function core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Creates a user, then tests the tokens generated from it.
ViewsPluginInterface::globalTokenReplace function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Returns a string with any core tokens replaced.
ViewsSearchQuery::conditionReplaceString function core/modules/search/src/ViewsSearchQuery.php Replaces the original condition with a custom one from views recursively.
ZfExtensionManagerSfContainer::$canonicalNamesReplacements property core/modules/aggregator/src/ZfExtensionManagerSfContainer.php A map of characters to be replaced through strtr.
ZfExtensionManagerSfContainer::$canonicalNamesReplacements property core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php A map of characters to be replaced through strtr.

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