You are here

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

Return value

null|string

4 calls to FormHelper::getEntityCategory()
FormHelper::displayEntitySettings in src/Form/FormHelper.php
@todo Refactor.
FormHelper::getEntityDataFromFormEntity in src/Form/FormHelper.php
Checks if this particular form is a bundle form, or a bundle instance form and gathers sitemap settings from the database.
FormHelper::negotiateSettings in src/Form/FormHelper.php
FormHelper::supports in src/Form/FormHelper.php

File

src/Form/FormHelper.php, line 160

Class

FormHelper
Class FormHelper

Namespace

Drupal\simple_sitemap\Form

Code

public function getEntityCategory() : ?string {
  return $this->entityCategory;
}