function SerializedPropertyItem::schema
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php \Drupal\entity_test\Plugin\Field\FieldType\SerializedPropertyItem::schema()
- 8.9.x core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php \Drupal\entity_test\Plugin\Field\FieldType\SerializedPropertyItem::schema()
- 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php \Drupal\entity_test\Plugin\Field\FieldType\SerializedPropertyItem::schema()
Overrides FieldItemInterface::schema
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ SerializedPropertyItem.php, line 36
Class
- SerializedPropertyItem
- Defines the 'serialized_property_item_test' entity field type.
Namespace
Drupal\entity_test\Plugin\Field\FieldTypeCode
public static function schema(FieldStorageDefinitionInterface $field_definition) {
return [
'columns' => [
'value' => [
'type' => 'text',
'size' => 'big',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.