public function MoveBlockForm::getComponentsWrapper in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Form/MoveBlockForm.php \Drupal\layout_builder\Form\MoveBlockForm::getComponentsWrapper()
- 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\FormCode
public function getComponentsWrapper(array $form, FormStateInterface $form_state) {
return $form['components_wrapper'];
}