You are here

public function OAIPMH::__construct in Views OAI-PMH 8

Constructs a PathPluginBase object.

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\Core\Routing\RouteProviderInterface $route_provider: The route provider.

\Drupal\Core\State\StateInterface $state: The state key value store.

Overrides PathPluginBase::__construct

File

src/Plugin/views/display/OAIPMH.php, line 62

Class

OAIPMH
Plugin annotation @ViewsDisplay( id = "views_oai_pmh_display", title = @Translation("OAI-PMH Views"), help = @Translation("Provide a feed using the OAI-PMH protocol."), uses_route = TRUE, admin = @Translation("OAI-PMH Views"), …

Namespace

Drupal\views_oai_pmh\Plugin\views\display

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, StateInterface $state, RendererInterface $renderer) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider, $state);
  $this->renderer = $renderer;
}