W3cubDocs

/Drupal 8

public function TypedDataManagerInterface::createListDataDefinition

public TypedDataManagerInterface::createListDataDefinition($item_type)

Creates a new list data definition for items of the given data type.

Parameters

string $item_type: The item type, for which a list data definition should be created.

Return value

\Drupal\Core\TypedData\ListDataDefinitionInterface A list definition for items of the given data type.

See also

\Drupal\Core\TypedData\TypedDataManager::createDataDefinition()

File

core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php, line 107

Class

TypedDataManagerInterface
Defines an interface for typed data manager.

Namespace

Drupal\Core\TypedData

Code

public function createListDataDefinition($item_type);

© 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!TypedData!TypedDataManagerInterface.php/function/TypedDataManagerInterface::createListDataDefinition/8.1.x