Same name in other branches
- 8.x-2.x src/Plugin/FieldState/Required.php \Drupal\field_states_ui\Plugin\FieldState\Required
Controls field widget required state in relation to other fields dynamically.
Plugin annotation
@FieldState(
id = "required",
label = @Translation("Required"),
description = @Translation("Dynamically make field required dependent on other field states/values.")
)
Hierarchy
- class \Drupal\field_states_ui\FieldStateBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\field_states_ui\FieldStateInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\field_states_ui\Plugin\FieldState\Required extends \Drupal\field_states_ui\FieldStateBase
Expanded class hierarchy of Required
1 string reference to 'Required'
- field_states_ui.schema.yml in config/
schema/ field_states_ui.schema.yml - config/schema/field_states_ui.schema.yml
File
-
src/
Plugin/ FieldState/ Required.php, line 16
Namespace
Drupal\field_states_ui\Plugin\FieldStateView source
class Required extends FieldStateBase {
}