public function ConfigureBlockFormBase::getCurrentSection in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php \Drupal\layout_builder\Form\ConfigureBlockFormBase::getCurrentSection()
- 9 core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php \Drupal\layout_builder\Form\ConfigureBlockFormBase::getCurrentSection()
Retrieves the current layout section being edited by the form.
Return value
\Drupal\layout_builder\Section The current layout section.
1 call to ConfigureBlockFormBase::getCurrentSection()
- ConfigureBlockFormBase::getCurrentComponent in core/
modules/ layout_builder/ src/ Form/ ConfigureBlockFormBase.php - Retrieves the current component being edited by the form.
File
- core/
modules/ layout_builder/ src/ Form/ ConfigureBlockFormBase.php, line 277
Class
- ConfigureBlockFormBase
- Provides a base form for configuring a block.
Namespace
Drupal\layout_builder\FormCode
public function getCurrentSection() {
return $this->sectionStorage
->getSection($this->delta);
}