diff -u b/core/modules/node/src/Plugin/Search/NodeSearch.php b/core/modules/node/src/Plugin/Search/NodeSearch.php --- b/core/modules/node/src/Plugin/Search/NodeSearch.php +++ b/core/modules/node/src/Plugin/Search/NodeSearch.php @@ -379,7 +379,7 @@ /** * {@inheritdoc} */ - public function searchIndexClear() { + public function indexClear() { // All NodeSearch pages share a common search index "type" equal to // the plugin ID. search_index_clear($this->getPluginId()); diff -u b/core/modules/search/src/Plugin/SearchIndexingInterface.php b/core/modules/search/src/Plugin/SearchIndexingInterface.php --- b/core/modules/search/src/Plugin/SearchIndexingInterface.php +++ b/core/modules/search/src/Plugin/SearchIndexingInterface.php @@ -51,7 +51,7 @@ * * @see search_index_clear() */ - public function searchIndexClear(); + public function indexClear(); /** * Marks the search index for reindexing for this plugin. only in patch2: unchanged: --- a/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php +++ b/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php @@ -71,7 +71,7 @@ function testSearchSettingsPage() { $this->drupalPostForm('admin/config/search/pages', array(), t('Re-index site')); $this->assertText(t('Are you sure you want to re-index the site')); $this->drupalPostForm('admin/config/search/pages/reindex', array(), t('Re-index site')); - $this->assertText(t('The index will be rebuilt')); + $this->assertText(t('All search indexes will be rebuilt')); $this->drupalGet('admin/config/search/pages'); $this->assertText(t('There is 1 item left to index.'));