Skip to content
Snippets Groups Projects
Commit 32e22af9 authored by Eric Bremner's avatar Eric Bremner
Browse files

Issue #3193048: removing more of using this in favour of calling the full path

parent fd133593
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ use Drupal\Core\Form\FormStateInterface; ...@@ -8,6 +8,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\hook_event_dispatcher\HookEventDispatcherInterface; use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;
use Drupal\layout_builder_ids\Service\LayoutBuilderIdsService; use Drupal\layout_builder_ids\Service\LayoutBuilderIdsService;
use Drupal\layout_builder_ids\Form\ConfigureSectionForm;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
...@@ -129,7 +130,7 @@ class LayoutBuilderIdsConfigureSection implements EventSubscriberInterface { ...@@ -129,7 +130,7 @@ class LayoutBuilderIdsConfigureSection implements EventSubscriberInterface {
if ($layout_builder_id !== NULL) { if ($layout_builder_id !== NULL) {
// Get the layout. // Get the layout.
$layout = $this->getLayout($form_state); $layout = ConfigureSectionForm::getLayout($form_state);
// Load in the config for this section. // Load in the config for this section.
$configuration = $layout->getConfiguration(); $configuration = $layout->getConfiguration();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment