protected ArrayElement::createElement($definition, $value, $key)
Creates a contained typed configuration object.
\Drupal\Core\TypedData\DataDefinitionInterface $definition: The data definition object.
mixed $value: (optional) The data value. If set, it has to match one of the supported data type format as documented for the data type classes.
string $key: The key of the contained element.
\Drupal\Core\TypedData\TypedDataInterface
protected function createElement($definition, $value, $key) { return $this->getTypedDataManager()->create($definition, $value, $key, $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!Config!Schema!ArrayElement.php/function/ArrayElement::createElement/8.1.x