Create typed config object.
File
- drupal/core/lib/Drupal/Core/Config/Schema/Element.php, line 27
- Contains \Drupal\Core\Config\Schema\Element.
Class
- Element
- Defines a generic configuration element.
Namespace
Drupal\Core\Config\Schema
Code
protected function parseElement($key, $data, $definition) {
return config_typed()
->create($definition, $data, $key, $this);
}