public function XmlSitemap::setLinks in XML sitemap 8
Same name and namespace in other branches
- 2.x src/Entity/XmlSitemap.php \Drupal\xmlsitemap\Entity\XmlSitemap::setLinks()
Sets the number of links.
Parameters
string $links: The number of links.
Return value
\Drupal\xmlsitemap\XmlSitemapInterface The class instance that this method is called on.
Overrides XmlSitemapInterface::setLinks
File
- src/
Entity/ XmlSitemap.php, line 168
Class
- XmlSitemap
- Defines the XmlSitemap entity.
Namespace
Drupal\xmlsitemap\EntityCode
public function setLinks($links) {
$this->links = $links;
return $this;
}