function TestObjectItem::schema
Same name in other branches
- 9 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestObjectItem.php \Drupal\field_test\Plugin\Field\FieldType\TestObjectItem::schema()
- 8.9.x core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestObjectItem.php \Drupal\field_test\Plugin\Field\FieldType\TestObjectItem::schema()
- 10 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestObjectItem.php \Drupal\field_test\Plugin\Field\FieldType\TestObjectItem::schema()
Overrides FieldItemInterface::schema
File
-
core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestObjectItem.php, line 39
Class
- TestObjectItem
- Defines the 'test_object_field' entity field item.
Namespace
Drupal\field_test\Plugin\Field\FieldTypeCode
public static function schema(FieldStorageDefinitionInterface $field_definition) {
return [
'columns' => [
'value' => [
'description' => 'The object item value.',
'type' => 'blob',
'not null' => TRUE,
'serialize' => TRUE,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.