function ArrayElement::getElementDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Schema/ArrayElement.php \Drupal\Core\Config\Schema\ArrayElement::getElementDefinition()
- 8.9.x core/lib/Drupal/Core/Config/Schema/ArrayElement.php \Drupal\Core\Config\Schema\ArrayElement::getElementDefinition()
- 10 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
1 call to ArrayElement::getElementDefinition()
- ArrayElement::parse in core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php - Builds an array of contained elements.
2 methods override ArrayElement::getElementDefinition()
- Mapping::getElementDefinition in core/
lib/ Drupal/ Core/ Config/ Schema/ Mapping.php - Sequence::getElementDefinition in core/
lib/ Drupal/ Core/ Config/ Schema/ Sequence.php
File
-
core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php, line 70
Class
- ArrayElement
- Defines a generic configuration element that contains multiple properties.
Namespace
Drupal\Core\Config\SchemaCode
protected abstract function getElementDefinition($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.