Same name and namespace in other branches
  1. 8.x-2.x src/Plugin/FieldState/Enabled.php \Drupal\field_states_ui\Plugin\FieldState\Enabled 1 comment

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

File

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

Namespace

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

}