You are here

public function UnsavedIndexConfiguration::getTypedData in Search API 8

Gets a typed data object for this entity object.

The returned typed data object wraps this entity and allows dealing with entities based on the generic typed data API.

Return value

\Drupal\Core\TypedData\ComplexDataInterface The typed data object for this entity.

Overrides EntityInterface::getTypedData

See also

\Drupal\Core\TypedData\TypedDataInterface

File

src/UnsavedIndexConfiguration.php, line 994

Class

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

Namespace

Drupal\search_api

Code

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