You are here

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

Same name and namespace in other branches
  1. 8 src/XmlSitemapInterface.php \Drupal\xmlsitemap\XmlSitemapInterface::setLabel()

Sets the label of the sitemap.

Parameters

string $label: The sitemap label.

Return value

\Drupal\xmlsitemap\XmlSitemapInterface The class instance that this method is called on.

1 method overrides XmlSitemapInterface::setLabel()
XmlSitemap::setLabel in src/Entity/XmlSitemap.php
Sets the label of the sitemap.

File

src/XmlSitemapInterface.php, line 80

Class

XmlSitemapInterface
Provides an interface defining a XmlSitemap entity.

Namespace

Drupal\xmlsitemap

Code

public function setLabel($label);