public static function SimpleSitemap::purgeContent in Simple XML sitemap 4.x
Overrides SimpleSitemapInterface::purgeContent
2 calls to SimpleSitemap::purgeContent()
- QueueWorker::deleteQueue in src/
Queue/ QueueWorker.php - simple_sitemap_update_8403 in ./
simple_sitemap.install - Migrate the default_hreflang sitemap type and its variants to new configuration entities.
File
- src/
Entity/ SimpleSitemap.php, line 271
Class
- SimpleSitemap
- Defines the simple_sitemap entity.
Namespace
Drupal\simple_sitemap\EntityCode
public static function purgeContent($variants = NULL, ?bool $status = self::FETCH_BY_STATUS_ALL) {
\Drupal::entityTypeManager()
->getStorage('simple_sitemap')
->purgeContent($variants, $status);
}