You are here

public function SearchApiIndex::queueItems in Search API 7

Record entities to index.

1 call to SearchApiIndex::queueItems()
SearchApiIndex::postCreate in includes/index_entity.inc
Execute necessary tasks for a newly created index.

File

includes/index_entity.inc, line 220
Contains SearchApiIndex.

Class

SearchApiIndex
Class representing a search index.

Code

public function queueItems() {
  if (!$this->read_only) {
    try {
      $this
        ->datasource()
        ->startTracking(array(
        $this,
      ));
    } catch (SearchApiException $e) {
      watchdog_exception('search_api', $e);
    }
  }
}