Search for replace

  1. Search 9.5.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
ajax_command_replace function includes/ajax.inc Creates a Drupal Ajax 'insert/replaceWith' command.
CommentTokenReplaceTestCase class modules/comment/comment.test Test comment token replacement in strings.
CommentTokenReplaceTestCase::getInfo function modules/comment/comment.test
CommentTokenReplaceTestCase::testCommentTokenReplacement function modules/comment/comment.test Creates a comment, then tests the tokens generated from it.
DatabaseConnection::$prefixReplace property includes/database/database.inc List of replacement values for use in prefixTables().
FileCopyTest::testExistingReplace function modules/simpletest/tests/file.test Test replacement when copying over a file that already exists.
FileFieldTestCase::replaceNodeFile function modules/file/tests/file.test Replaces a file within a node.
FileMoveTest::testExistingReplace function modules/simpletest/tests/file.test Test replacement when moving onto a file that already exists.
FileMoveTest::testExistingReplaceSelf function modules/simpletest/tests/file.test Test replacement when moving onto itself.
FileSaveDataTest::testExistingReplace function modules/simpletest/tests/file.test Test file_save_data() when replacing an existing file.
FileSaveUploadTest::testExistingReplace function modules/simpletest/tests/file.test Test replacement when uploading over a file that already exists.
FileTokenReplaceTestCase class modules/file/tests/file.test Tests the file token replacement in strings.
FileTokenReplaceTestCase::getInfo function modules/file/tests/file.test
FileTokenReplaceTestCase::testFileTokenReplacement function modules/file/tests/file.test Creates a file, then tests the tokens generated from it.
FILE_EXISTS_REPLACE constant includes/file.inc Flag for dealing with existing files: Replace the existing file.
filter_test_replace function modules/simpletest/tests/filter_test.module Implements callback_filter_process().
ImageAdminStylesUnitTest::testStyleReplacement function modules/image/image.test Test deleting a style and choosing a replacement style.
NodeTokenReplaceTestCase class modules/node/node.test Test node token replacement in strings.
NodeTokenReplaceTestCase::getInfo function modules/node/node.test
NodeTokenReplaceTestCase::testNodeTokenReplacement function modules/node/node.test Creates a node, then tests the tokens generated from it.
PollTokenReplaceTestCase class modules/poll/poll.test Test poll token replacement in strings.
PollTokenReplaceTestCase::getInfo function modules/poll/poll.test
PollTokenReplaceTestCase::setUp function modules/poll/poll.test Sets up a Drupal site for running functional and integration tests.
PollTokenReplaceTestCase::testPollTokenReplacement function modules/poll/poll.test Creates a poll, then tests the tokens generated from it.
StatisticsTokenReplaceTestCase class modules/statistics/statistics.test Tests statistics token replacement in strings.
StatisticsTokenReplaceTestCase::getInfo function modules/statistics/statistics.test
StatisticsTokenReplaceTestCase::testStatisticsTokenReplacement function modules/statistics/statistics.test Creates a node, then tests the statistics tokens generated from it.
TaxonomyTokenReplaceTestCase class modules/taxonomy/taxonomy.test Test taxonomy token replacement in strings.
TaxonomyTokenReplaceTestCase::$admin_user property modules/taxonomy/taxonomy.test
TaxonomyTokenReplaceTestCase::$instance property modules/taxonomy/taxonomy.test
TaxonomyTokenReplaceTestCase::$langcode property modules/taxonomy/taxonomy.test
TaxonomyTokenReplaceTestCase::$vocabulary property modules/taxonomy/taxonomy.test
TaxonomyTokenReplaceTestCase::getInfo function modules/taxonomy/taxonomy.test
TaxonomyTokenReplaceTestCase::setUp function modules/taxonomy/taxonomy.test Sets up a Drupal site for running functional and integration tests.
TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement function modules/taxonomy/taxonomy.test Creates some terms and a node, then tests the tokens generated from them.
TokenReplaceTestCase class modules/system/system.test Test token replacement in strings.
TokenReplaceTestCase::getInfo function modules/system/system.test
TokenReplaceTestCase::testSystemDateTokenReplacement function modules/system/system.test Tests the generation of all system date tokens.
TokenReplaceTestCase::testSystemSiteTokenReplacement function modules/system/system.test Tests the generation of all system site information tokens.
TokenReplaceTestCase::testSystemTokenRecognition function modules/system/system.test Test whether token-replacement works in various contexts.
TokenReplaceTestCase::testTokenReplacement function modules/system/system.test Creates a user and a node, then tests the tokens generated from them.
token_replace function includes/token.inc Replaces all tokens in a given string with appropriate values.
TriggerActionTestCase::assertSystemEmailTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement for the given trigger and account.
TriggerActionTestCase::assertSystemMessageAndEmailTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement in both system message and email.
TriggerActionTestCase::assertSystemMessageTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement for the given trigger and account.
TriggerUserTokenTestCase::testUserTriggerTokenReplacement function modules/trigger/trigger.test Tests a variety of token replacements in actions.
UserTokenReplaceTestCase class modules/user/user.test Test user token replacement in strings.
UserTokenReplaceTestCase::getInfo function modules/user/user.test
UserTokenReplaceTestCase::testAnonymousUserTokenReplacement function modules/user/user.test Uses an anonymous user, then tests the tokens generated from it.
UserTokenReplaceTestCase::testUserTokenReplacement function modules/user/user.test Creates a user, then tests the tokens generated from it.

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