ListDataDefinition::getDataType

public ListDataDefinition::getDataType()

Returns the data type of the data.

Return value

string The data type.

Overrides DataDefinition::getDataType

File

core/lib/Drupal/Core/TypedData/ListDataDefinition.php, line 58

Class

ListDataDefinition
A typed data definition class for defining lists.

Namespace

Drupal\Core\TypedData

Code

public function getDataType() {
  return 'list';
}
doc_Drupal
2016-10-29 09:23:28
Comments
Leave a Comment

Please login to continue.