You are here

public function ContentEntity::getTypedDataManager in Search API 8

Retrieves the typed data manager.

Return value

\Drupal\Core\TypedData\TypedDataManagerInterface The typed data manager.

File

src/Plugin/search_api/datasource/ContentEntity.php, line 320

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

public function getTypedDataManager() {
  return $this->typedDataManager ?: \Drupal::typedDataManager();
}