You are here

public function XmlSitemap::getLinks in XML sitemap 8

Same name and namespace in other branches
  1. 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\Entity

Code

public function getLinks() {
  return $this->links;
}