You are here

public function XmlSitemap::getId in XML sitemap 8

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

Returns the sitemap id.

Return value

string The sitemap id.

Overrides XmlSitemapInterface::getId

File

src/Entity/XmlSitemap.php, line 102

Class

XmlSitemap
Defines the XmlSitemap entity.

Namespace

Drupal\xmlsitemap\Entity

Code

public function getId() {
  return $this->id;
}