public static function StatusForm::generateSitemap in Simple XML sitemap 4.x
Parameters
array $form:
\Drupal\Core\Form\FormStateInterface $form_state:
File
- src/
Form/ StatusForm.php, line 154
Class
- StatusForm
- Class StatusForm
Namespace
Drupal\simple_sitemap\FormCode
public static function generateSitemap(array &$form, FormStateInterface $form_state) : void {
\Drupal::service('simple_sitemap.generator')
->generateSitemap();
}