You are here

PostRequestIndexingInterface.php in Search API 8

File

src/Utility/PostRequestIndexingInterface.php
View source
<?php

namespace Drupal\search_api\Utility;


/**
 * Provides an interface for the post-request indexing service.
 */
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);

}

Interfaces

Namesort descending Description
PostRequestIndexingInterface Provides an interface for the post-request indexing service.