You are here

public function SearchIndexingInterface::markForReindex in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 search_mark_for_reindex($type) to mark the items in the search database for reindexing.

See also

search_mark_for_reindex()

1 method overrides SearchIndexingInterface::markForReindex()
NodeSearch::markForReindex in core/modules/node/src/Plugin/Search/NodeSearch.php
Marks the search index for reindexing for this plugin.

File

core/modules/search/src/Plugin/SearchIndexingInterface.php, line 75
Contains \Drupal\search\Plugin\SearchIndexingInterface.

Class

SearchIndexingInterface
Defines an optional interface for SearchPlugin objects using an index.

Namespace

Drupal\search\Plugin

Code

public function markForReindex();