protected BlockEntityOffCanvasForm::buildVisibilityInterface(array $form, FormStateInterface $form_state)
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/outside_in/src/Block/BlockEntityOffCanvasForm.php, line 71
Class
- BlockEntityOffCanvasForm
- Provides form for block instance forms when used in the off-canvas tray.
Namespace
Drupal\outside_in\Block
Code
protected function buildVisibilityInterface(array $form, FormStateInterface $form_state) { // Do not display the visibility. return []; }
Please login to continue.