function ArrayElement::getElementDefinition
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/Schema/ArrayElement.php \Drupal\Core\Config\Schema\ArrayElement::getElementDefinition()
Gets data definition object for contained element.
Parameters
int|string $key: Property name or index of the element.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface
File
-
core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php, line 51
Class
- ArrayElement
- Defines a generic configuration element that contains multiple properties.
Namespace
Drupal\Core\Config\SchemaCode
abstract protected function getElementDefinition($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.