You are here

interface PostRequestIndexingInterface in Search API 8

Provides an interface for the post-request indexing service.

Hierarchy

Expanded class hierarchy of PostRequestIndexingInterface

All classes that implement PostRequestIndexingInterface

File

src/Utility/PostRequestIndexingInterface.php, line 8

Namespace

Drupal\search_api\Utility
View source
interface PostRequestIndexingInterface {

  /**
   * Registers items for indexing at the end of the page request.
   *
   * @param string $index_id
   *   The ID of the search index on which items should be indexed.
   * @param array $item_ids
   *   The IDs of the items to index.
   */
  public function registerIndexingOperation($index_id, array $item_ids);

}

Members

Namesort descending Modifiers Type Description Overrides
PostRequestIndexingInterface::registerIndexingOperation public function Registers items for indexing at the end of the page request. 1