public function XmlSitemap::getLinks in XML sitemap 8
Same name and namespace in other branches
- 2.x 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;
}