You are here

public function SimpleSitemapDisplayExtender::hasSitemapSettings in Simple XML sitemap 8.3

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

... See full list

File

modules/simple_sitemap_views/src/Plugin/views/display_extender/SimpleSitemapDisplayExtender.php, line 316

Class

SimpleSitemapDisplayExtender
Simple XML Sitemap display extender plugin.

Namespace

Drupal\simple_sitemap_views\Plugin\views\display_extender

Code

public function hasSitemapSettings() {
  return $this->displayHandler instanceof DisplayRouterInterface;
}