You are here

public static function BricksTreeDynamicItem::propertyDefinitions 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::propertyDefinitions()

File

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

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 propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
  $properties = parent::propertyDefinitions($field_definition);
  _bricks_field_properties_alter($properties);
  return $properties;
}