public function DrupalMedia::__construct in Drupal 8
Same name and namespace in other branches
- 9 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.
Overrides PluginBase::__construct
File
- core/
modules/ media/ src/ Plugin/ CKEditorPlugin/ DrupalMedia.php, line 47
Class
- DrupalMedia
- Defines the "drupalmedia" plugin.
Namespace
Drupal\media\Plugin\CKEditorPluginCode
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;
}