You are here

protected function FormHelper::cleanUpFormInfo in Simple XML sitemap 8.2

Same name and namespace in other branches
  1. 8.3 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.

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

File

src/Form/FormHelper.php, line 388

Class

FormHelper
Class FormHelper @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

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