function ListInterface::getItemDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::getItemDefinition()
  2. 8.9.x core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::getItemDefinition()
  3. 11.x core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::getItemDefinition()

Gets the definition of a contained item.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface The data definition of contained items.

1 method overrides ListInterface::getItemDefinition()
ItemList::getItemDefinition in core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
Gets the definition of a contained item.

File

core/lib/Drupal/Core/TypedData/ListInterface.php, line 42

Class

ListInterface
Interface for a list of typed data.

Namespace

Drupal\Core\TypedData

Code

public function getItemDefinition();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.