class TestTextfieldWidget

Same name in other branches
  1. 8.9.x core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget
  2. 10 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget
  3. 11.x core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget

Plugin implementation of the 'field_plugins_test_text_widget' widget.

Plugin annotation


@FieldWidget(
  id = "field_plugins_test_text_widget",
  label = @Translation("Test Text field"),
  field_types = {
    "text",
    "string"
  },
)

Hierarchy

Expanded class hierarchy of TestTextfieldWidget

File

core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php, line 19

Namespace

Drupal\field_plugins_test\Plugin\Field\FieldWidget
View source
class TestTextfieldWidget extends TextfieldWidget {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.