You are here

public function XmlSitemapInterface::setId in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/XmlSitemapInterface.php \Drupal\xmlsitemap\XmlSitemapInterface::setId()

Sets the id of the sitemap.

Parameters

string $id: The sitemap id.

Return value

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

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

File

src/XmlSitemapInterface.php, line 69

Class

XmlSitemapInterface
Provides an interface defining a XmlSitemap entity.

Namespace

Drupal\xmlsitemap

Code

public function setId($id);