Commit 0dd61d19 authored by gbyte.co's avatar gbyte.co

Clean up

parent 1bdd4722
......@@ -381,6 +381,7 @@ class SimplesitemapSettingsForm extends SimplesitemapFormBase {
/**
* @param array $form
* @param \Drupal\Core\Form\FormStateInterface $form_state
* @throws \Drupal\Component\Plugin\Exception\PluginException
*/
public function generateSitemap(array &$form, FormStateInterface $form_state) {
$this->generator->generateSitemap();
......@@ -389,6 +390,7 @@ class SimplesitemapSettingsForm extends SimplesitemapFormBase {
/**
* @param array $form
* @param \Drupal\Core\Form\FormStateInterface $form_state
* @throws \Drupal\Component\Plugin\Exception\PluginException
*/
public function generateSitemapBackend (array &$form, FormStateInterface $form_state) {
$this->generator->generateSitemap('backend');
......@@ -398,6 +400,7 @@ class SimplesitemapSettingsForm extends SimplesitemapFormBase {
/**
* @param array $form
* @param \Drupal\Core\Form\FormStateInterface $form_state
* @throws \Drupal\Component\Plugin\Exception\PluginException
*/
public function rebuildQueue(array &$form, FormStateInterface $form_state) {
$this->generator->rebuildQueue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment