function DrupalMedia::__construct

Same name in other branches
  1. 8.9.x core/modules/media/src/Plugin/CKEditorPlugin/DrupalMedia.php \Drupal\media\Plugin\CKEditorPlugin\DrupalMedia::__construct()

Constructs a new DrupalMedia plugin object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Extension\ModuleExtensionList $extension_list_module: The module extension list.

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMedia.php, line 48

Class

DrupalMedia
Defines the "drupalmedia" plugin.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.