You are here

public function XmlSitemapInterface::setLinks in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 src/XmlSitemapInterface.php \Drupal\xmlsitemap\XmlSitemapInterface::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.

1 method overrides XmlSitemapInterface::setLinks()
XmlSitemap::setLinks in src/Entity/XmlSitemap.php
Sets the number of links.

File

src/XmlSitemapInterface.php, line 102

Class

XmlSitemapInterface
Provides an interface defining a XmlSitemap entity.

Namespace

Drupal\xmlsitemap

Code

public function setLinks($links);