You are here

public function SimpleSitemapStorage::deleteContent in Simple XML sitemap 4.x

1 call to SimpleSitemapStorage::deleteContent()
SimpleSitemapStorage::doDelete in src/Entity/SimpleSitemapStorage.php
@todo Improve performance of his method.

File

src/Entity/SimpleSitemapStorage.php, line 180

Class

SimpleSitemapStorage

Namespace

Drupal\simple_sitemap\Entity

Code

public function deleteContent(SimpleSitemap $entity) : void {
  $this
    ->purgeContent($entity
    ->id());
}