public function InlineJS::__construct in Openlayers 7.3
Constructs an InlineJS plugin.
Parameters
array $configuration: The configuration array.
string $plugin_id: The plugin id.
array $plugin_definition: The plugin definition.
File
- src/
Plugin/ Interaction/ InlineJS/ InlineJS.php, line 39 - Interaction: JS.
Class
- InlineJS
- Class InlineJS.
Namespace
Drupal\openlayers\Plugin\Interaction\InlineJSCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, ModuleHandlerInterface $module_handler, MessengerInterface $messenger, Drupal7 $drupal7) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->moduleHandler = $module_handler;
$this->messenger = $messenger;
$this->drupal7 = $drupal7;
}