TypedDataTrait::setTypedDataManager

public TypedDataTrait::setTypedDataManager(TypedDataManagerInterface $typed_data_manager)

Sets the typed data manager.

Parameters

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

Return value

$this

File

core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 25

Class

TypedDataTrait
Wrapper methods for classes that needs typed data manager object.

Namespace

Drupal\Core\TypedData

Code

public function setTypedDataManager(TypedDataManagerInterface $typed_data_manager) {
  $this->typedDataManager = $typed_data_manager;
  return $this;
}
doc_Drupal
2016-10-29 09:50:15
Comments
Leave a Comment

Please login to continue.