protected function BlockEntitySettingTrayForm::validateVisibility in Drupal 9
Same name and namespace in other branches
- 8 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\BlockCode
protected function validateVisibility(array $form, FormStateInterface $form_state) {
// Intentionally empty.
}