/**
  * {@inheritdoc}
  */
 public function submitConfigurationForm(array &$form, FormStateInterface $form_state)
 {
     parent::submitConfigurationForm($form, $form_state);
     if ($form_state->hasValue('layout')) {
         $this->configuration['layout'] = $form_state->getValue('layout');
     }
     // Submit layout settings.
     if ($form_state->hasValue('layout_settings')) {
         $layout_settings = $this->configuration['layout'] == $form_state->getValue('layout') ? $this->configuration['layout_settings'] : [];
         $layout = $form_state->has('layout_plugin') ? $form_state->get('layout_plugin') : $this->layoutManager->createInstance($form_state->getValue('layout'), $layout_settings);
         list($layout_settings_form, $layout_settings_form_state) = $this->getLayoutSettingsForm($form, $form_state);
         $layout->submitConfigurationForm($layout_settings_form, $layout_settings_form_state);
         $this->configuration['layout_settings'] = $layout->getConfiguration();
     }
     if ($form_state->hasValue('builder')) {
         $this->configuration['builder'] = $form_state->getValue('builder');
     }
     if ($form_state->hasValue('page_title')) {
         $this->configuration['page_title'] = $form_state->getValue('page_title');
     }
 }
 /**
  * {@inheritdoc}
  */
 public function submitConfigurationForm(array &$form, FormStateInterface $form_state)
 {
     parent::submitConfigurationForm($form, $form_state);
     if ($form_state->hasValue('page_title')) {
         $this->configuration['page_title'] = $form_state->getValue('page_title');
     }
     if ($form_state->hasValue('uuid')) {
         $this->configuration['uuid'] = $form_state->getValue('uuid');
     }
 }