public function FormHelper::setEntityTypeId in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::setEntityTypeId()
- 4.x src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::setEntityTypeId()
Parameters
string $entity_type_id:
Return value
$this
1 call to FormHelper::setEntityTypeId()
- 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 134
Class
- FormHelper
- Class FormHelper @package Drupal\simple_sitemap\Form
Namespace
Drupal\simple_sitemap\FormCode
public function setEntityTypeId($entity_type_id) {
$this->entityTypeId = $entity_type_id;
return $this;
}