protected function CKEditorPluginBase::getModuleList in Drupal 9
Gets the module list service.
Return value
\Drupal\Core\Extension\ModuleExtensionList The module extension list service.
File
- core/
modules/ ckeditor/ src/ CKEditorPluginBase.php, line 47
Class
- CKEditorPluginBase
- Defines a base CKEditor plugin implementation.
Namespace
Drupal\ckeditorCode
protected function getModuleList() : ModuleExtensionList {
if (!$this->moduleList) {
$this->moduleList = \Drupal::service('extension.list.module');
}
return $this->moduleList;
}