You are here

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

@todo Duplicate query.

File

src/Entity/SimpleSitemapStorage.php, line 255

Class

SimpleSitemapStorage

Namespace

Drupal\simple_sitemap\Entity

Code

public function getIndex(SimpleSitemap $entity, ?bool $status) : string {
  return $this
    ->getSitemapString($entity, $this
    ->getIdByDelta($entity, self::SITEMAP_INDEX_DELTA, $status), $status);
}