public function SimpleSitemap::hasIndex in Simple XML sitemap 4.x
Overrides SimpleSitemapInterface::hasIndex
File
- src/
Entity/ SimpleSitemap.php, line 173
Class
- SimpleSitemap
- Defines the simple_sitemap entity.
Namespace
Drupal\simple_sitemap\EntityCode
public function hasIndex() : bool {
return \Drupal::entityTypeManager()
->getStorage('simple_sitemap')
->hasIndex($this, $this->fetchByStatus);
}