Search for markForReindex

  1. Search 7.x for markForReindex
  2. Search 9.5.x for markForReindex
  3. Search 10.3.x for markForReindex
  4. Search 11.x for markForReindex
  5. Other projects
Title Object type File name Summary
HelpSearch::markForReindex function core/modules/help_topics/src/Plugin/Search/HelpSearch.php Marks the search index for reindexing for this plugin.
NodeSearch::markForReindex function core/modules/node/src/Plugin/Search/NodeSearch.php Marks the search index for reindexing for this plugin.
SearchDeprecationTest::testMarkForReindex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_mark_for_reindex() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::markForReindex() instead. See https://www.drupal.org/node/3075696
SearchIndex::markForReindex function core/modules/search/src/SearchIndex.php Changes the timestamp on indexed items to 'now' to force reindexing.
SearchIndexingInterface::markForReindex function core/modules/search/src/Plugin/SearchIndexingInterface.php Marks the search index for reindexing for this plugin.
SearchIndexInterface::markForReindex function core/modules/search/src/SearchIndexInterface.php Changes the timestamp on indexed items to 'now' to force reindexing.

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