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

Controls field widget visibility in relation to other fields dynamically.

Plugin annotation


@FieldState(
  id = "visible",
  label = @Translation("Visible"),
  description = @Translation("Dynamically control field widget visibility dependent on other field states/values. This will show the field only if the condition(s) are met (if not met the field will be hidden).")
)

Hierarchy

Expanded class hierarchy of Visible

1 string reference to 'Visible'
field_states_ui.schema.yml in config/schema/field_states_ui.schema.yml
config/schema/field_states_ui.schema.yml

File

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

Namespace

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

}