You are here

public function SimpleSitemapDisplayExtender::__construct in Simple XML sitemap (Views integration) 8

Constructs the plugin.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\simple_sitemap\Form\FormHelper $form_helper: Simple XML Sitemap form helper.

Overrides PluginBase::__construct

File

src/Plugin/views/display_extender/SimpleSitemapDisplayExtender.php, line 51
Contains Simple XML Sitemap display extender.

Class

SimpleSitemapDisplayExtender
Simple XML Sitemap display extender plugin.

Namespace

Drupal\simple_sitemap_views\Plugin\views\display_extender

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, FormHelper $form_helper) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->formHelper = $form_helper;
}