W3cubDocs

/Drupal 8

protected abstract function ArrayElement::getElementDefinition

protected abstract ArrayElement::getElementDefinition($key)

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 49

Class

ArrayElement
Defines a generic configuration element that contains multiple properties.

Namespace

Drupal\Core\Config\Schema

Code

protected abstract function getElementDefinition($key);

© 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::getElementDefinition/8.1.x