function BlockEntitySettingTrayForm::buildVisibilityInterface
Helper function for building the visibility UI form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form array with the visibility UI added in.
Overrides BlockForm::buildVisibilityInterface
File
- 
              core/modules/ settings_tray/ src/ Block/ BlockEntitySettingTrayForm.php, line 92 
Class
- BlockEntitySettingTrayForm
- Provides form for block instance forms when used in the off-canvas dialog.
Namespace
Drupal\settings_tray\BlockCode
protected function buildVisibilityInterface(array $form, FormStateInterface $form_state) {
  // Do not display the visibility.
  return [];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
