Search for replace

  1. Search 7.x for replace
  2. Search 9.5.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
StorageReplaceDataWrapper class core/modules/config/src/StorageReplaceDataWrapper.php Wraps a configuration storage to allow replacing specific configuration data.
StorageReplaceDataWrapper.php file core/modules/config/src/StorageReplaceDataWrapper.php
StorageReplaceDataWrapper::$collection property core/modules/config/src/StorageReplaceDataWrapper.php The storage collection.
StorageReplaceDataWrapper::$replacementData property core/modules/config/src/StorageReplaceDataWrapper.php The configuration replacement data, keyed by configuration object name.
StorageReplaceDataWrapper::$storage property core/modules/config/src/StorageReplaceDataWrapper.php The configuration storage to be wrapped.
StorageReplaceDataWrapper::createCollection function core/modules/config/src/StorageReplaceDataWrapper.php Creates a collection on the storage.
StorageReplaceDataWrapper::decode function core/modules/config/src/StorageReplaceDataWrapper.php Decodes configuration data from the storage-specific format.
StorageReplaceDataWrapper::delete function core/modules/config/src/StorageReplaceDataWrapper.php Deletes a configuration object from the storage.
StorageReplaceDataWrapper::deleteAll function core/modules/config/src/StorageReplaceDataWrapper.php Deletes configuration objects whose names start with a given prefix.
StorageReplaceDataWrapper::encode function core/modules/config/src/StorageReplaceDataWrapper.php Encodes configuration data into the storage-specific format.
StorageReplaceDataWrapper::exists function core/modules/config/src/StorageReplaceDataWrapper.php Returns whether a configuration object exists.
StorageReplaceDataWrapper::getAllCollectionNames function core/modules/config/src/StorageReplaceDataWrapper.php Gets the existing collections.
StorageReplaceDataWrapper::getCollectionName function core/modules/config/src/StorageReplaceDataWrapper.php Gets the name of the current collection the storage is using.
StorageReplaceDataWrapper::listAll function core/modules/config/src/StorageReplaceDataWrapper.php Gets configuration object names starting with a given prefix.
StorageReplaceDataWrapper::read function core/modules/config/src/StorageReplaceDataWrapper.php Reads configuration data from the storage.
StorageReplaceDataWrapper::readMultiple function core/modules/config/src/StorageReplaceDataWrapper.php Reads configuration data from the storage.
StorageReplaceDataWrapper::rename function core/modules/config/src/StorageReplaceDataWrapper.php Renames a configuration object in the storage.
StorageReplaceDataWrapper::replaceData function core/modules/config/src/StorageReplaceDataWrapper.php Replaces the configuration object data with the supplied data.
StorageReplaceDataWrapper::write function core/modules/config/src/StorageReplaceDataWrapper.php Writes configuration data to the storage.
StorageReplaceDataWrapper::__construct function core/modules/config/src/StorageReplaceDataWrapper.php Constructs a new StorageReplaceDataWrapper.
StorageReplaceDataWrapperTest class core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Tests StorageReplaceDataWrapper operations.
StorageReplaceDataWrapperTest.php file core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
StorageReplaceDataWrapperTest::delete function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
StorageReplaceDataWrapperTest::insert function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
StorageReplaceDataWrapperTest::providerCollections function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Data provider for testing different collections.
StorageReplaceDataWrapperTest::read function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
StorageReplaceDataWrapperTest::setUp function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php
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
TaxonomyTermParentMultilingualTest::replaceUser1 function core/modules/taxonomy/tests/src/Functional/Update/TaxonomyTermParentMultilingualTest.php Replace User 1 with the user created here.
TaxonomyTermUpdatePathTest::replaceUser1 function core/modules/taxonomy/tests/src/Functional/Update/TaxonomyTermUpdatePathTest.php Replace User 1 with the user created here.
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. The resulting string will be
sanitized with Xss::filterAdmin.
Token::replace function core/lib/Drupal/Core/Utility/Token.php Replaces all tokens in a given string with appropriate values.
TokenReplaceKernelTest class core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Generates text using placeholders for dummy content to check 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 Test 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 enable.
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.

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