Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Config/Schema/Element.php \Drupal\Core\Config\Schema\Element::getTypedDataManager()
- 9 core/lib/Drupal/Core/Config/Schema/Element.php \Drupal\Core\Config\Schema\Element::getTypedDataManager()
Gets the typed configuration manager.
Overrides \Drupal\Core\TypedData\TypedDataTrait::getTypedDataManager() to ensure the typed configuration manager is returned.
Return value
\Drupal\Core\Config\TypedConfigManagerInterface The typed configuration manager.
Overrides TypedDataTrait::getTypedDataManager
2 calls to Element::getTypedDataManager()
- ArrayElement::buildDataDefinition in core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php - Creates a new data definition object from an array and configuration.
- ArrayElement::createElement in core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php - Creates a contained typed configuration object.
File
- core/
lib/ Drupal/ Core/ Config/ Schema/ Element.php, line 30
Class
- Element
- Defines a generic configuration element.
Namespace
Drupal\Core\Config\SchemaCode
public function getTypedDataManager() {
if (empty($this->typedDataManager)) {
$this
->setTypedDataManager(\Drupal::service('config.typed'));
}
return $this->typedDataManager;
}