public function XmlSitemap::setLabel in XML sitemap 8
Same name and namespace in other branches
- 2.x src/Entity/XmlSitemap.php \Drupal\xmlsitemap\Entity\XmlSitemap::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.
Overrides XmlSitemapInterface::setLabel
File
- src/
Entity/ XmlSitemap.php, line 152
Class
- XmlSitemap
- Defines the XmlSitemap entity.
Namespace
Drupal\xmlsitemap\EntityCode
public function setLabel($label) {
$this->label = $label;
return $this;
}