You are here

BricksTreeAutocompleteWidget.php in Bricks​ 8

Same filename and directory in other branches
  1. 2.x src/Plugin/Field/FieldWidget/BricksTreeAutocompleteWidget.php

File

src/Plugin/Field/FieldWidget/BricksTreeAutocompleteWidget.php
View source
<?php

namespace Drupal\bricks\Plugin\Field\FieldWidget;

use Drupal\Core\Field\Plugin\Field\FieldWidget\EntityReferenceAutocompleteWidget;

/**
 * {@inheritdoc}
 *
 * @FieldWidget(
 *   id = "bricks_tree_autocomplete",
 *   label = @Translation("Bricks tree (Autocomplete)"),
 *   description = @Translation("A tree of autocomplete text fields."),
 *   field_types = {
 *     "bricks",
 *     "bricks_revisioned"
 *   }
 * )
 */
class BricksTreeAutocompleteWidget extends EntityReferenceAutocompleteWidget {

}

Classes

Namesort descending Description
BricksTreeAutocompleteWidget Plugin annotation @FieldWidget( id = "bricks_tree_autocomplete", label = @Translation("Bricks tree (Autocomplete)"), description = @Translation("A tree of autocomplete text fields."), field_types = { "bricks", "bricks_revisioned" } )