public function 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\TypedDataCode
public function setTypedDataManager(TypedDataManagerInterface $typed_data_manager) { $this->typedDataManager = $typed_data_manager; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TypedDataTrait.php/function/TypedDataTrait::setTypedDataManager/8.1.x