You are here

protected function BlockEntitySettingTrayForm::submitVisibility in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php \Drupal\settings_tray\Block\BlockEntitySettingTrayForm::submitVisibility()

Helper function to independently submit 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::submitVisibility

File

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

Class

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

Namespace

Drupal\settings_tray\Block

Code

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

  // Intentionally empty.
}