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

Controls field widget visibility in relation to other fields dynamically.

Plugin annotation


@FieldState(
  id = "invisible",
  label = @Translation("Invisible (Hide)"),
  description = @Translation("Dynamically control field widget visibility dependent on other field states/values. This will hide the field if the condition(s) are met.")
)

Hierarchy

Expanded class hierarchy of Invisible

1 string reference to 'Invisible'
field_states_ui_settings_form in ./field_states_ui.admin.inc
Implements hook_field_widget_third_party_settings_form().

File

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

Namespace

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

}