protected property ModerationStateWidget::$validator in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php \Drupal\content_moderation\Plugin\Field\FieldWidget\ModerationStateWidget::validator
- 10 core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php \Drupal\content_moderation\Plugin\Field\FieldWidget\ModerationStateWidget::validator
Moderation state transition validation service.
Type: \Drupal\content_moderation\StateTransitionValidationInterface
File
- core/
modules/ content_moderation/ src/ Plugin/ Field/ FieldWidget/ ModerationStateWidget.php, line 55
Class
- ModerationStateWidget
- Plugin implementation of the 'moderation_state_default' widget.
Namespace
Drupal\content_moderation\Plugin\Field\FieldWidgetCode
protected $validator;