You are here

public function IndexInterface::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.

2 methods override IndexInterface::getEntityTypes()
Index::getEntityTypes in src/Entity/Index.php
Retrieves all entity types contained in this index.
UnsavedIndexConfiguration::getEntityTypes in src/UnsavedIndexConfiguration.php
Retrieves all entity types contained in this index.

File

src/IndexInterface.php, line 198

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function getEntityTypes();