You are here

public function SimplesitemapManager::getSitemapTypes in Simple XML sitemap 8.3

Return value

\Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapType\SitemapTypeBase[]

1 call to SimplesitemapManager::getSitemapTypes()
SimplesitemapManager::removeSitemap in src/SimplesitemapManager.php

File

src/SimplesitemapManager.php, line 123

Class

SimplesitemapManager
Class SimplesitemapManager @package Drupal\simple_sitemap

Namespace

Drupal\simple_sitemap

Code

public function getSitemapTypes() {
  if (empty($this->sitemapTypes)) {
    $this->sitemapTypes = $this->sitemapTypeManager
      ->getDefinitions();
  }
  return $this->sitemapTypes;
}