You are here

TestTextfieldWidget.php in Zircon Profile 8.0

File

core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php
View source
<?php

/**
 * @file
 * Contains \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget.
 */
namespace Drupal\field_plugins_test\Plugin\Field\FieldWidget;

use Drupal\text\Plugin\Field\FieldWidget\TextfieldWidget;

/**
 * Plugin implementation of the 'field_plugins_test_text_widget' widget.
 *
 * @FieldWidget(
 *   id = "field_plugins_test_text_widget",
 *   label = @Translation("Test Text field"),
 *   field_types = {
 *     "text",
 *     "string"
 *   },
 * )
 */
class TestTextfieldWidget extends TextfieldWidget {

}

Classes

Namesort descending Description
TestTextfieldWidget Plugin implementation of the 'field_plugins_test_text_widget' widget.