function LayoutSectionItem::schema
Same name in other branches
- 9 core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::schema()
- 8.9.x core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::schema()
- 10 core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::schema()
Overrides FieldItemInterface::schema
File
-
core/
modules/ layout_builder/ src/ Plugin/ Field/ FieldType/ LayoutSectionItem.php, line 66
Class
- LayoutSectionItem
- Plugin implementation of the 'layout_section' field type.
Namespace
Drupal\layout_builder\Plugin\Field\FieldTypeCode
public static function schema(FieldStorageDefinitionInterface $field_definition) {
$schema = [
'columns' => [
'section' => [
'type' => 'blob',
'size' => 'normal',
'serialize' => TRUE,
],
],
];
return $schema;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.