function MultiValueTestItem::schema
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::schema()
- 10 core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::schema()
- 11.x core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::schema()
Overrides FieldItemInterface::schema
File
-
core/
modules/ system/ tests/ modules/ entity_test_update/ src/ Plugin/ Field/ FieldType/ MultiValueTestItem.php, line 36
Class
- MultiValueTestItem
- Defines the 'multi_value_test' field type.
Namespace
Drupal\entity_test_update\Plugin\Field\FieldTypeCode
public static function schema(FieldStorageDefinitionInterface $field_definition) {
return [
'columns' => [
'value1' => [
'type' => 'varchar',
'length' => 64,
],
'value2' => [
'type' => 'varchar',
'length' => 64,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.