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
ImageStyleStorage::$replacement property core/modules/image/src/ImageStyleStorage.php Image style replacement memory storage.
ImageStyleStorage::clearReplacementId function core/modules/image/src/ImageStyleStorage.php
ImageStyleStorage::getReplacementId function core/modules/image/src/ImageStyleStorage.php
ImageStyleStorage::setReplacementId function core/modules/image/src/ImageStyleStorage.php
ImageStyleStorageInterface::clearReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Clears a replacement ID from the storage.
ImageStyleStorageInterface::getReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Retrieves the replacement ID of a deleted image style.
ImageStyleStorageInterface::setReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Stores a replacement ID for an image style being deleted.
InlineBlockPrivateFilesTest::replaceFileInBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Replaces the file in the block with another one.
Interpolator::replacements function composer/Plugin/Scaffold/Interpolator.php Finds the tokens that exist in a message and builds a replacement array.
MachineName::$replacePattern property core/modules/migrate/src/Plugin/migrate/process/MachineName.php The regular expression pattern.
ManageOptions::getLocationReplacements function composer/Plugin/Scaffold/ManageOptions.php Creates an interpolator for the 'locations' element.
MediaEmbed::replaceNodeContent function core/modules/media/src/Plugin/Filter/MediaEmbed.php Replaces the contents of a DOMNode.
MoveTest::testExistingReplace function core/modules/file/tests/src/Kernel/MoveTest.php Tests replacement when moving onto a file that already exists.
MoveTest::testExistingReplaceSelf function core/modules/file/tests/src/Kernel/MoveTest.php Tests replacement when moving onto itself.
MysqlDateSql::$replace property core/modules/views/src/Plugin/views/query/MysqlDateSql.php An array of PHP-to-MySQL replacement patterns.
NodeFieldTokensTest::testViewsTokenReplacement function core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php Tests token replacement for Views tokens supplied by the Node module.
NodeTokenReplaceTest class core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php Tests node token replacement.
NodeTokenReplaceTest.php file core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php
NodeTokenReplaceTest::$modules property core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php
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
PluginBase::viewsTokenReplace function core/modules/views/src/Plugin/views/PluginBase.php Replaces Views' tokens in a given string.
PluginBaseTest::testViewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Tests that the token replacement in views works correctly.
PluginBaseTest::testViewsTokenReplaceWithDots function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Tests 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.
RecipeRunner::replaceInputValues function core/lib/Drupal/Core/Recipe/RecipeRunner.php
Renderer::doReplacePlaceholder function core/lib/Drupal/Core/Render/Renderer.php Replaces a placeholder with its markup.
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
ReplaceOp::ID constant composer/Plugin/Scaffold/Operations/ReplaceOp.php Identifies Replace operations.
ReplaceOp::process function composer/Plugin/Scaffold/Operations/ReplaceOp.php
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

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