Same name in other branches
- 8.x-1.x src/Plugin/FieldState/Enabled.php \Drupal\field_states_ui\Plugin\FieldState\Enabled
Controls field widget enabled state in relation to other fields dynamically.
Plugin annotation
@FieldState(
id = "enabled",
label = @Translation("Enable"),
description = @Translation("Dynamically control field widget interaction dependent on other field states/values. This will enable the field if the condition(s) are met.")
)
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\Enabled extends \Drupal\field_states_ui\FieldStateBase
Expanded class hierarchy of Enabled
Fichier
-
src/
Plugin/ FieldState/ Enabled.php, line 16
Namespace
Drupal\field_states_ui\Plugin\FieldStateView source
class Enabled extends FieldStateBase {
}