public function ReindexScheduledEvent::getIndex in Search API 8
Retrieves the index scheduled for reindexing.
Return value
\Drupal\search_api\IndexInterface The index scheduled for reindexing.
File
- src/
Event/ ReindexScheduledEvent.php, line 46
Class
- ReindexScheduledEvent
- Wraps a reindex scheduled event.
Namespace
Drupal\search_api\EventCode
public function getIndex() {
return $this->index;
}