You are here

public function SitemapBase::getLabel in Sitemap 8.2

Same name and namespace in other branches
  1. 2.0.x 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 75

Class

SitemapBase
Base class for Sitemap plugin implementations.

Namespace

Drupal\sitemap

Code

public function getLabel() {
  return $this->pluginDefinition['title'];
}