public function MappingForeignRelationshipsEvent::getIndex in Search API 8
Retrieves the index whose foreign relationships are mapped.
Return value
\Drupal\search_api\IndexInterface The index whose foreign relationships are mapped.
File
- src/
Event/ MappingForeignRelationshipsEvent.php, line 59
Class
- MappingForeignRelationshipsEvent
- Wraps a foreign relationships mapping event.
Namespace
Drupal\search_api\EventCode
public function getIndex() : IndexInterface {
return $this->index;
}