public function SimpleSitemapDisplayExtender::hasSitemapSettings in Simple XML sitemap (Views integration) 8
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 src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Provide a form to edit options for this plugin.
- SimpleSitemapDisplayExtender::init in src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Initialize the plugin.
- SimpleSitemapDisplayExtender::optionsSummary in src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Provide the default summary for options in the views UI.
- SimpleSitemapDisplayExtender::submitOptionsForm in src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Handle any special handling on the validate form.
- SimpleSitemapDisplayExtender::validate in src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php - Validate that the plugin is correct and can be saved.
File
- src/
Plugin/ views/ display_extender/ SimpleSitemapDisplayExtender.php, line 282 - Contains Simple XML Sitemap display extender.
Class
- SimpleSitemapDisplayExtender
- Simple XML Sitemap display extender plugin.
Namespace
Drupal\simple_sitemap_views\Plugin\views\display_extenderCode
public function hasSitemapSettings() {
return $this->displayHandler instanceof DisplayRouterInterface;
}