Same name in other branches
  1. 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

Expanded class hierarchy of Enabled

Fichier

src/Plugin/FieldState/Enabled.php, line 16

Namespace

Drupal\field_states_ui\Plugin\FieldState
View source
class Enabled extends FieldStateBase {

}