You are here

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

Parameters

string $bundle_name:

Return value

$this

1 call to FormHelper::setBundleName()
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.

File

src/Form/FormHelper.php, line 174

Class

FormHelper
Class FormHelper @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

public function setBundleName($bundle_name) {
  $this->bundleName = $bundle_name;
  return $this;
}