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

Controls field widget disabled state in relation to other fields dynamically.

Plugin annotation


@FieldState(
  id = "disabled",
  label = @Translation("Disable"),
  description = @Translation("Dynamically control field widget interaction dependent on other field states/values. This will disable the field if the condition(s) are met.")
)

Hierarchy

Expanded class hierarchy of Disabled

File

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

Namespace

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

}