function MapDataDefinition::createFromDataType
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::createFromDataType()
- 10 core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::createFromDataType()
- 11.x core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::createFromDataType()
Overrides DataDefinition::createFromDataType
File
-
core/
lib/ Drupal/ Core/ TypedData/ MapDataDefinition.php, line 33
Class
- MapDataDefinition
- A typed data definition class for defining maps.
Namespace
Drupal\Core\TypedDataCode
public static function createFromDataType($data_type) {
return static::create($data_type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.