You are here

public function MoveBlockForm::getComponentsWrapper in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Form/MoveBlockForm.php \Drupal\layout_builder\Form\MoveBlockForm::getComponentsWrapper()
  2. 9 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 275

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'];
}