You are here

public function FormHelper::cleanUpFormInfo 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::cleanUpFormInfo()
  2. 4.x src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::cleanUpFormInfo()

Removes gathered form information from service object.

Needed because this service may contain form info from the previous operation when revived from the container.

Return value

$this

1 call to FormHelper::cleanUpFormInfo()
FormHelper::processForm in src/Form/FormHelper.php

File

src/Form/FormHelper.php, line 459

Class

FormHelper
Class FormHelper @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

public function cleanUpFormInfo() {
  $this->entityCategory = NULL;
  $this->entityTypeId = NULL;
  $this->bundleName = NULL;
  $this->instanceId = NULL;
  $this->settings = NULL;
  return $this;
}