public function UnsavedIndexConfiguration::getEntityTypes in Search API 8
Retrieves all entity types contained in this index.
Return value
string[] An associative array mapping all datasources containing entities to their entity type IDs.
Overrides IndexInterface::getEntityTypes
File
- src/
UnsavedIndexConfiguration.php, line 293
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function getEntityTypes() {
return $this->entity
->getEntityTypes();
}