You are here

public function SearchApiFieldTrait::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/views/field/SearchApiFieldTrait.php, line 152

Class

SearchApiFieldTrait
Provides a trait to use for Search API Views field handlers.

Namespace

Drupal\search_api\Plugin\views\field

Code

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