You are here

public function EntityLegalPluginBase::__construct in Entity Legal 8.2

Same name and namespace in other branches
  1. 4.0.x src/EntityLegalPluginBase.php \Drupal\entity_legal\EntityLegalPluginBase::__construct()
  2. 3.0.x src/EntityLegalPluginBase.php \Drupal\entity_legal\EntityLegalPluginBase::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase 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.

Overrides PluginBase::__construct

1 call to EntityLegalPluginBase::__construct()
Redirect::__construct in src/Plugin/EntityLegal/Redirect.php
Constructs a new plugin instance.
1 method overrides EntityLegalPluginBase::__construct()
Redirect::__construct in src/Plugin/EntityLegal/Redirect.php
Constructs a new plugin instance.

File

src/EntityLegalPluginBase.php, line 24

Class

EntityLegalPluginBase
Class ResponsiveMenusPluginBase.

Namespace

Drupal\entity_legal

Code

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