class TestTextfieldWidget
Same name in other branches
- 9 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget
- 10 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldWidget/TestTextfieldWidget.php \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget
- 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
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Field\WidgetBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\WidgetInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface uses \Drupal\Core\Field\AllowedTagsXssTrait
- class \Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidget extends \Drupal\Core\Field\WidgetBase
- class \Drupal\text\Plugin\Field\FieldWidget\TextfieldWidget extends \Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidget
- class \Drupal\field_plugins_test\Plugin\Field\FieldWidget\TestTextfieldWidget extends \Drupal\text\Plugin\Field\FieldWidget\TextfieldWidget
- class \Drupal\text\Plugin\Field\FieldWidget\TextfieldWidget extends \Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidget
- class \Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidget extends \Drupal\Core\Field\WidgetBase
- class \Drupal\Core\Field\WidgetBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\WidgetInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface uses \Drupal\Core\Field\AllowedTagsXssTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
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\FieldWidgetView source
class TestTextfieldWidget extends TextfieldWidget {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.