You are here

protected function BlockEntitySettingTrayForm::validateVisibility in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php \Drupal\settings_tray\Block\BlockEntitySettingTrayForm::validateVisibility()
  2. 10 core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php \Drupal\settings_tray\Block\BlockEntitySettingTrayForm::validateVisibility()

Helper function to independently validate the visibility UI.

Parameters

array $form: A nested array form elements comprising the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides BlockForm::validateVisibility

File

core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php, line 100

Class

BlockEntitySettingTrayForm
Provides form for block instance forms when used in the off-canvas dialog.

Namespace

Drupal\settings_tray\Block

Code

protected function validateVisibility(array $form, FormStateInterface $form_state) {

  // Intentionally empty.
}