You are here

public function FormHelper::processForm in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::processForm()
  2. 8.2 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::processForm()

Parameters

\Drupal\Core\Form\FormStateInterface $form_state:

Return value

bool

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/Form/FormHelper.php, line 136

Class

FormHelper
Class FormHelper

Namespace

Drupal\simple_sitemap\Form

Code

public function processForm(FormStateInterface $form_state) : bool {
  $this->formState = $form_state;
  $this
    ->cleanUpFormInfo();
  if ($this
    ->getEntityDataFromFormEntity()) {
    $this
      ->negotiateSettings();
  }
  return $this
    ->supports();
}