public function SearchIndexingInterface::markForReindex in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/SearchIndexingInterface.php \Drupal\search\Plugin\SearchIndexingInterface::markForReindex()
- 9 core/modules/search/src/Plugin/SearchIndexingInterface.php \Drupal\search\Plugin\SearchIndexingInterface::markForReindex()
Marks the search index for reindexing for this plugin.
When a request is made to mark all items from the search index related to this plugin for reindexing, this method will be called. If this plugin uses the default search index, this method can call markForReindex($type) method on the search.index service class to mark the items in the search database for reindexing.
See also
\Drupal\search\SearchIndexInterface::markForReindex()
File
- core/
modules/ search/ src/ Plugin/ SearchIndexingInterface.php, line 70
Class
- SearchIndexingInterface
- Defines an optional interface for SearchPlugin objects using an index.
Namespace
Drupal\search\PluginCode
public function markForReindex();