You are here

public function FormHelper::processForm in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::processForm()
  2. 4.x 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 126

Class

FormHelper
Class FormHelper @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

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