BricksTreeRevisionedItem.php in Bricks 2.x
File
modules/bricks_revisions/src/Plugin/Field/FieldType/BricksTreeRevisionedItem.php
View source
<?php
namespace Drupal\bricks_revisions\Plugin\Field\FieldType;
use Drupal\bricks\BricksFieldItemInterface;
use Drupal\bricks\BricksFieldTypeTrait;
use Drupal\entity_reference_revisions\Plugin\Field\FieldType\EntityReferenceRevisionsItem;
class BricksTreeRevisionedItem extends EntityReferenceRevisionsItem implements BricksFieldItemInterface {
use BricksFieldTypeTrait;
public static function getPreconfiguredOptions() {
return [];
}
}
Classes
Name |
Description |
BricksTreeRevisionedItem |
Plugin annotation
@FieldType(
id = "bricks_revisioned",
label = @Translation("Bricks (revisioned)"),
description = @Translation("An entity field containing a tree of revisioned entity reference bricks."),
category = @Translation("Reference… |