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
AjaxCommandsTest::testReplaceCommand function core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php @covers \Drupal\Core\Ajax\ReplaceCommand
AssetOptimizationTest::replaceFileNamePrefix function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the filename prefix in the given URL.
AssetOptimizationTest::replaceGroupDelta function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the delta in the given URL.
AssetOptimizationTest::replaceGroupHash function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the group hash in the given URL.
BigPipeRegressionTest::doTestMultipleReplacements function core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php Test BigPipe replacement of multiple complex replacements.
BigPipeRegressionTestController::multipleReplacements function core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php A page with multiple nodes.
CommentTokenReplaceTest class core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php Tests comment token replacement.
CommentTokenReplaceTest.php file core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
CommentTokenReplaceTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
CommentTokenReplaceTest::$modules property core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
CommentTokenReplaceTest::testCommentTokenReplacement function core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php Creates a comment, then tests the tokens generated from it.
ComponentInvalidReplacementTest class core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Tests invalid render options for components.
ComponentInvalidReplacementTest class core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Tests invalid render options for components.
ComponentInvalidReplacementTest.php file core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest.php file core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Modules to enable.
ComponentInvalidReplacementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Themes to install.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentNegotiatorTest::testRenderWithReplacements function core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComponentNegotiatorTest::testRenderWithReplacements function core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComponentNegotiatorTest::testRenderWithReplacements function core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComposerIntegrationTest::testAllCoreComponentsReplaced function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests core's composer.json replace section.
Connection::$tablePlaceholderReplacements property core/lib/Drupal/Core/Database/Connection.php Replacements to fully qualify {table} placeholders in SQL strings.
CopyTest::testExistingReplace function core/modules/file/tests/src/Kernel/CopyTest.php Tests replacement when copying over a file that already exists.
CreateForEachBundle::replacePlaceholders function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Replaces placeholders recursively.
DataFieldRow::$replacementAliases property core/modules/rest/src/Plugin/views/row/DataFieldRow.php Stores an array of prepared field aliases from options.
DisplayPluginBase::recursiveReplaceTokens function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Replace the query parameters recursively, both key and value.
DynamicPluginConfigWithCsrfTokenUrlTrait::getUrlWithReplacedCsrfTokenPlaceholder function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php Gets the given URL with all placeholders replaced.
EntityResource::replaceRelationshipData function core/modules/jsonapi/src/Controller/EntityResource.php Updates the relationship of an entity.
ExtraFieldBlock::replaceFieldPlaceholder function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Replaces all placeholders for a given field.
FileFieldTestBase::replaceNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Replaces a file within a node.
FileRepositoryTest::testExistingReplace function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests writeData() when replacing an existing file.
FileSystemInterface::EXISTS_REPLACE constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Replace the existing file.
FileTokenReplaceTest class core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Tests file token replacement.
FileTokenReplaceTest.php file core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
FileTokenReplaceTest::$defaultTheme property core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
FileTokenReplaceTest::testFileTokenReplacement function core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Creates a file, then tests the tokens generated from it.
FilterTestReplace class core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php Provides a test filter to replace all content.
FilterTestReplace.php file core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
FilterTestReplace::process function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
Fixtures::getLocationReplacements function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Gets an Interpolator with 'web-root' and 'package-name' set.
Fixtures::replaceOp function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Creates a ReplaceOp fixture.
ImageAdminStylesTest::testStyleReplacement function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests deleting a style and choosing a replacement style.
ImageStyle::getReplacementID function core/modules/image/src/Entity/ImageStyle.php
ImageStyle::replaceImageStyle function core/modules/image/src/Entity/ImageStyle.php Update field settings if the image style name is changed.
ImageStyleDeleteForm::$replacementOptions property core/modules/image/src/Form/ImageStyleDeleteForm.php Replacement options.
ImageStyleDeleteForm::getReplacementOptions function core/modules/image/src/Form/ImageStyleDeleteForm.php Returns a list of image style replacement options.

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