public function SimpleSitemapDisplayExtender::hasSitemapSettings in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 modules/simple_sitemap_views/src/Plugin/views/display_extender/SimpleSitemapDisplayExtender.php \Drupal\simple_sitemap_views\Plugin\views\display_extender\SimpleSitemapDisplayExtender::hasSitemapSettings()
Identify whether or not the current display has sitemap settings.
Return value
bool Has sitemap settings (TRUE) or not (FALSE).
6 calls to SimpleSitemapDisplayExtender::hasSitemapSettings()
- SimpleSitemapDisplayExtender::buildOptionsForm in modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Provide a form to edit options for this plugin.
- SimpleSitemapDisplayExtender::init in modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Initialize the plugin.
- SimpleSitemapDisplayExtender::optionsSummary in modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Provide the default summary for options in the views UI.
- SimpleSitemapDisplayExtender::submitOptionsForm in modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Handle any special handling on the validate form.
- SimpleSitemapDisplayExtender::validate in modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Validate that the plugin is correct and can be saved.
File
- modules/
simple_sitemap_views/ src/ Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php, line 306
Class
- SimpleSitemapDisplayExtender
- Simple XML Sitemap display extender plugin.
Namespace
Drupal\simple_sitemap_views\Plugin\views\display_extenderCode
public function hasSitemapSettings() : bool {
return $this->displayHandler instanceof DisplayRouterInterface;
}