BricksTreeItem.php in Bricks 8
File
src/Plugin/Field/FieldType/BricksTreeItem.php
View source
<?php
namespace Drupal\bricks\Plugin\Field\FieldType;
use Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem;
class BricksTreeItem extends EntityReferenceItem {
use BricksFieldTypeTrait;
}
Classes
Name |
Description |
BricksTreeItem |
Plugin annotation
@FieldType(
id = "bricks",
label = @Translation("Bricks"),
description = @Translation("An entity field containing a tree of entity reference bricks."),
category = @Translation("Reference"),
default_widget =… |