public static function AssetManager::getPluginsInstallStatuses in CKEditor Media Embed Plugin 8
Retrieve the install status of all CKEditor plugins.
4 calls to AssetManager::getPluginsInstallStatuses()
- AssetManagerTest::testGetPluginInstallStatusesAbove411 in tests/
src/ Unit/ AssetManagerTest.php - Tests \Drupal\ckeditor_media_embed\AssetManager::getPluginsInstallStatuses(<version>).
- AssetManagerTest::testGetPluginInstallStatusesMissing in tests/
src/ Unit/ AssetManagerTest.php - Tests \Drupal\ckeditor_media_embed\AssetManager::getPluginsInstallStatuses(<version>).
- ckeditor_media_embed_ckeditor_plugin_info_alter in ./
ckeditor_media_embed.module - Implements hook_ckeditor_plugin_info_alter().
- ckeditor_media_embed_requirements in ./
ckeditor_media_embed.install - Implements hook_requirements().
File
- src/
AssetManager.php, line 58
Class
- AssetManager
- The AssetManager facade for managing CKEditor plugins.
Namespace
Drupal\ckeditor_media_embedCode
public static function getPluginsInstallStatuses($version = '') {
$plugin_statuses = [];
foreach (self::getPlugins($version) as $plugin_name) {
$plugin_statuses[$plugin_name] = self::pluginIsInstalled($plugin_name);
}
return $plugin_statuses;
}