You are here

public function UnsavedIndexConfiguration::getEntityType in Search API 8

Gets the entity type definition.

Return value

\Drupal\Core\Entity\EntityTypeInterface The entity type definition.

Overrides EntityInterface::getEntityType

File

src/UnsavedIndexConfiguration.php, line 951

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function getEntityType() {
  return $this->entity
    ->getEntityType();
}