You are here

public function Search::__construct in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/freelinking/Search.php \Drupal\freelinking\Plugin\freelinking\Search::__construct()

Initialize method.

Parameters

array $configuration: The configuration array.

string $plugin_id: The plugin ID.

array $plugin_definition: The plugin definition array.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler interface.

Overrides PluginBase::__construct

File

src/Plugin/freelinking/Search.php, line 46

Class

Search
Freelinking search plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

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