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