public function XmlSitemapInterface::setId in XML sitemap 2.x
Same name and namespace in other branches
- 8 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\xmlsitemapCode
public function setId($id);