public function SitemapBase::getLabel in Sitemap 2.0.x
Same name and namespace in other branches
- 8.2 src/SitemapBase.php \Drupal\sitemap\SitemapBase::getLabel()
Returns the administrative label for this mapping plugin.
Return value
string The label.
Overrides SitemapInterface::getLabel
File
- src/
SitemapBase.php, line 78
Class
- SitemapBase
- Base class for Sitemap plugin implementations.
Namespace
Drupal\sitemapCode
public function getLabel() {
return $this->pluginDefinition['title'];
}