function FieldNote::schema
Same name in other branches
- 3.x modules/field_permission_example/src/Plugin/Field/FieldType/FieldNote.php \Drupal\field_permission_example\Plugin\Field\FieldType\FieldNote::schema()
Overrides FieldItemInterface::schema
File
-
modules/
field_permission_example/ src/ Plugin/ Field/ FieldType/ FieldNote.php, line 26
Class
- FieldNote
- Plugin implementation of the 'field_permission_example' field type.
Namespace
Drupal\field_permission_example\Plugin\Field\FieldTypeCode
public static function schema(FieldStorageDefinitionInterface $field_definition) {
return [
'columns' => [
'value' => [
'type' => 'text',
'size' => 'normal',
'not null' => FALSE,
],
],
];
}