private function LayoutBuilderIdsConfigureSection::getLayout in Layout builder ids 8
Get the layout object
Parameters
FormStateInterface $form_state:
Return value
mixed
1 call to LayoutBuilderIdsConfigureSection::getLayout()
- LayoutBuilderIdsConfigureSection::LayoutBuilderIdsSubmitForm in src/
EventSubscriber/ LayoutBuilderIdsConfigureSection.php
File
- src/
EventSubscriber/ LayoutBuilderIdsConfigureSection.php, line 80
Class
- LayoutBuilderIdsConfigureSection
- Class LayoutBuilderIdsConfigureSection.
Namespace
Drupal\layout_builder_ids\EventSubscriberCode
private function getLayout(FormStateInterface $form_state) {
// Get the form object.
$formObject = $form_state
->getFormObject();
return $formObject
->getLayout();
}