public function SitemapBase::getConfiguration in Sitemap 2.0.x
Same name and namespace in other branches
- 8.2 src/SitemapBase.php \Drupal\sitemap\SitemapBase::getConfiguration()
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ConfigurableInterface::getConfiguration
File
- src/
SitemapBase.php, line 114
Class
- SitemapBase
- Base class for Sitemap plugin implementations.
Namespace
Drupal\sitemapCode
public function getConfiguration() {
return [
'id' => $this
->getPluginId(),
'provider' => $this->pluginDefinition['provider'],
'status' => $this->enabled,
'weight' => $this->weight,
'settings' => $this->settings,
];
}