public function N1EDSelfHosted::getPluginsAvailable in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
2 calls to N1EDSelfHosted::getPluginsAvailable()
- N1EDSelfHosted::getSelfHostedConfig in src/
Controller/ N1EDSelfHosted.php - N1EDSelfHosted::rebuildDependencies in src/
Controller/ N1EDSelfHosted.php
File
- src/
Controller/ N1EDSelfHosted.php, line 15
Class
Namespace
Drupal\n1ed\ControllerCode
public function getPluginsAvailable() : array {
$plugins = [];
foreach ($this->plugins as $plugin_name) {
if (file_exists($this->plugins_folder . $plugin_name)) {
$plugins[] = $plugin_name;
}
}
return $plugins;
}