public function CKEditor5PluginManager::getAdminLibraries in Drupal 10
Gets a list of all admin library names.
Return value
string[] List of all admin libraries provided by plugins.
Overrides CKEditor5PluginManagerInterface::getAdminLibraries
File
- core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginManager.php, line 110
Class
- CKEditor5PluginManager
- Provides a CKEditor5 plugin manager.
Namespace
Drupal\ckeditor5\PluginCode
public function getAdminLibraries() : array {
$list = $this
->mergeDefinitionValues('getAdminLibrary', $this
->getDefinitions());
// Include main admin library.
array_unshift($list, 'ckeditor5/admin');
return $list;
}