You are here

public static function BricksTreeDynamicItem::schema in Bricks​ 8

Same name and namespace in other branches
  1. 2.x modules/bricks_dynamic/src/Plugin/Field/FieldType/BricksTreeDynamicItem.php \Drupal\bricks_dynamic\Plugin\Field\FieldType\BricksTreeDynamicItem::schema()

File

modules/bricks_dynamic/src/Plugin/Field/FieldType/BricksTreeDynamicItem.php, line 37

Class

BricksTreeDynamicItem
Plugin annotation @FieldType( id = "bricks_dynamic", label = @Translation("Bricks (dynamic)"), description = @Translation("An entity field containing a tree of dynamic entity reference bricks."), category = @Translation("Dynamic Reference"), …

Namespace

Drupal\bricks_dynamic\Plugin\Field\FieldType

Code

public static function schema(FieldStorageDefinitionInterface $field_definition) {
  $schema = parent::schema($field_definition);
  _bricks_field_schema_alter($schema);
  return $schema;
}