function MoveBlockForm::getComponentsWrapper

Same name in other branches
  1. 9 core/modules/layout_builder/src/Form/MoveBlockForm.php \Drupal\layout_builder\Form\MoveBlockForm::getComponentsWrapper()
  2. 10 core/modules/layout_builder/src/Form/MoveBlockForm.php \Drupal\layout_builder\Form\MoveBlockForm::getComponentsWrapper()
  3. 11.x core/modules/layout_builder/src/Form/MoveBlockForm.php \Drupal\layout_builder\Form\MoveBlockForm::getComponentsWrapper()

Ajax callback for the region select element.

Parameters

array $form: The form.

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

Return value

array The components wrapper render array.

File

core/modules/layout_builder/src/Form/MoveBlockForm.php, line 272

Class

MoveBlockForm
Provides a form for moving a block.

Namespace

Drupal\layout_builder\Form

Code

public function getComponentsWrapper(array $form, FormStateInterface $form_state) {
    return $form['components_wrapper'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.