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
NodeTokenReplaceTest.php file core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php
NodeTokenReplaceTest::$modules property core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php Modules to enable.
NodeTokenReplaceTest::setUp function core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php
NodeTokenReplaceTest::testNodeTokenReplacement function core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php Creates a node, then tests the tokens generated from it.
OperationFactory::createReplaceOp function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates a 'replace' scaffold op.
PhpTransliteration::lookupReplacement function core/lib/Drupal/Component/Transliteration/PhpTransliteration.php Look up the generic replacement for a UTF-8 character code.
PhpTransliteration::replace function core/lib/Drupal/Component/Transliteration/PhpTransliteration.php Replaces a single Unicode character using the transliteration database.
PluginBase::globalTokenReplace function core/modules/views/src/Plugin/views/PluginBase.php Returns a string with any core tokens replaced.
PluginBase::viewsTokenReplace function core/modules/views/src/Plugin/views/PluginBase.php Replaces Views' tokens in a given string. The resulting string will be
sanitized with Xss::filterAdmin.
PluginBaseTest::testViewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Test that the token replacement in views works correctly.
PluginBaseTest::testViewsTokenReplaceWithDots function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Test that the token replacement in views works correctly with dots.
PluginBaseTest::testViewsTokenReplaceWithTwigTokens function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Tests viewsTokenReplace without any twig tokens.
PostgresqlDateSql::$replace property core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php An array of PHP-to-PostgreSQL replacement patterns.
Renderer::replacePlaceholders function core/lib/Drupal/Core/Render/Renderer.php Replaces placeholders.
replace-me.txt file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-drupal-test-overwrite/replace-me.txt # File in drupal-drupal-test-overwrite that is replaced by a scaffold file.
ReplaceCommand class core/lib/Drupal/Core/Ajax/ReplaceCommand.php AJAX command for calling the jQuery replace() method.
ReplaceCommand.php file core/lib/Drupal/Core/Ajax/ReplaceCommand.php
ReplaceCommand::render function core/lib/Drupal/Core/Ajax/ReplaceCommand.php Implements Drupal\Core\Ajax\CommandInterface:render().
replacement.txt file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-drupal-test-overwrite/assets/replacement.txt # File from assets that replaces file in web root.
ReplaceOp class composer/Plugin/Scaffold/Operations/ReplaceOp.php Scaffold operation to copy or symlink from source to destination.
ReplaceOp.php file composer/Plugin/Scaffold/Operations/ReplaceOp.php
ReplaceOp::$overwrite property composer/Plugin/Scaffold/Operations/ReplaceOp.php Whether to overwrite existing files.
ReplaceOp::$source property composer/Plugin/Scaffold/Operations/ReplaceOp.php The relative path to the source file.
ReplaceOp::copyScaffold function composer/Plugin/Scaffold/Operations/ReplaceOp.php Copies the scaffold file.
ReplaceOp::generateContents function composer/Plugin/Scaffold/Operations/ReplaceOp.php Load the scaffold contents or otherwise generate what is needed.
ReplaceOp::ID constant composer/Plugin/Scaffold/Operations/ReplaceOp.php Identifies Replace operations.
ReplaceOp::process function composer/Plugin/Scaffold/Operations/ReplaceOp.php Process this scaffold operation.
ReplaceOp::symlinkScaffold function composer/Plugin/Scaffold/Operations/ReplaceOp.php Symlinks the scaffold file.
ReplaceOp::__construct function composer/Plugin/Scaffold/Operations/ReplaceOp.php Constructs a ReplaceOp.
ReplaceOpTest class core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php @coversDefaultClass \Drupal\Composer\Plugin\Scaffold\Operations\ReplaceOp
ReplaceOpTest.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php
ReplaceOpTest::testProcess function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php @covers ::process
ReplaceTitleCommand class core/modules/views/src/Ajax/ReplaceTitleCommand.php Provides an AJAX command for replacing the page title.
ReplaceTitleCommand.php file core/modules/views/src/Ajax/ReplaceTitleCommand.php
ReplaceTitleCommand::$title property core/modules/views/src/Ajax/ReplaceTitleCommand.php The page title to replace.
ReplaceTitleCommand::render function core/modules/views/src/Ajax/ReplaceTitleCommand.php Return an array to be run through json_encode and sent to the client.
ReplaceTitleCommand::__construct function core/modules/views/src/Ajax/ReplaceTitleCommand.php Constructs a \Drupal\views\Ajax\ReplaceTitleCommand object.
SaveDataTest::testExistingReplace function core/modules/file/tests/src/Kernel/SaveDataTest.php Test file_save_data() when replacing an existing file.
SaveUploadFormTest::testExistingReplace function core/modules/file/tests/src/Functional/SaveUploadFormTest.php Tests replacement when uploading over a file that already exists.
SaveUploadTest::testExistingReplace function core/modules/file/tests/src/Functional/SaveUploadTest.php Test replacement when uploading over a file that already exists.
ScaffoldTest::testDrupalDrupalFileWasReplaced function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php Asserts that the appropriate file was replaced.
SqliteDateSql::$replace property core/modules/views/src/Plugin/views/query/SqliteDateSql.php An array of PHP-to-SQLite date replacement patterns.
StandardJavascriptTest::assertBigPipePlaceholderReplacementCount function core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php Asserts the number of BigPipe placeholders that are replaced on the page.
StatisticsTokenReplaceTest class core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Generates text using placeholders for dummy content to check statistics token
replacement.
StatisticsTokenReplaceTest.php file core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
StatisticsTokenReplaceTest::$defaultTheme property core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php The theme to install as the default for testing.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement function core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Creates a node, then tests the statistics tokens generated from it.
StorageCopyTrait::replaceStorageContents function core/lib/Drupal/Core/Config/StorageCopyTrait.php Copy the configuration from one storage to another and remove stale items.
StorageCopyTraitTest::providerTestReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Provides data for testCheckRequirements().
StorageCopyTraitTest::testReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @covers ::replaceStorageContents

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