// Forward to the field definition class for creating new data definitions
// via the typed manager.
return BaseFieldDefinition::
createFromItemType($item_type);
} /**
* {@inheritdoc}
*/
public static function createFromDataType($type) { // Forward to the field definition class for creating new data definitions
// via the typed manager.
return BaseFieldDefinition::
createFromDataType($type);
} /**
* {@inheritdoc}
*/
public function getDataType() { // This object serves as data definition for field item lists, thus
// the correct data type is 'list'. This is not to be confused with
// the config schema type, 'field_config_base', which is used to
// describe the schema of the configuration backing this objects.
// @see \Drupal\Core\Field\FieldItemList