function ConfigEntityAdapter::setTypedDataManager
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::setTypedDataManager()
- 8.9.x core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::setTypedDataManager()
- 11.x core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::setTypedDataManager()
@todo Remove this in https://www.drupal.org/node/3011137.
Overrides TypedDataTrait::setTypedDataManager
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ DataType/ ConfigEntityAdapter.php, line 120
Class
- ConfigEntityAdapter
- Enhances EntityAdapter for config entities.
Namespace
Drupal\Core\Entity\Plugin\DataTypeCode
public function setTypedDataManager(TypedDataManagerInterface $typed_data_manager) {
$this->typedDataManager = $typed_data_manager;
if ($typed_data_manager instanceof TypedConfigManagerInterface) {
$this->typedConfigManager = $typed_data_manager;
}
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.