You are here

public function ContentEntity::setTypedDataManager in Search API 8

Sets the typed data manager.

Parameters

\Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager: The new typed data manager.

Return value

$this

File

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

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

public function setTypedDataManager(TypedDataManagerInterface $typed_data_manager) {
  $this->typedDataManager = $typed_data_manager;
  return $this;
}