public function PanopolySearchCondition::__construct in Panopoly 8.2
PanopolySearchCondition constructor.
Parameters
array $configuration: Plugin configuration.
string $plugin_id: Plugin ID.
mixed $plugin_definition: Plugin definition.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ConditionPluginBase::__construct
File
- modules/
panopoly/ panopoly_search/ src/ Plugin/ Condition/ PanopolySearchCondition.php, line 40
Class
- PanopolySearchCondition
- Condition plugin for testing which Panopoly Search backend is being used.
Namespace
Drupal\panopoly_search\Plugin\ConditionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->moduleHandler = $module_handler;
}