public function XmlSitemap::getLinks in XML sitemap 2.x
Same name and namespace in other branches
- 8 src/Entity/XmlSitemap.php \Drupal\xmlsitemap\Entity\XmlSitemap::getLinks()
Returns the sitemap links number.
Return value
int The links number.
Overrides XmlSitemapInterface::getLinks
File
- src/
Entity/ XmlSitemap.php, line 116
Class
- XmlSitemap
- Defines the XmlSitemap entity.
Namespace
Drupal\xmlsitemap\EntityCode
public function getLinks() {
return $this->links;
}