public function InstallablePluginManager::installedDefinitions in Markdown 8.2
Retrieves installed plugin definitions.
Return value
array[] An array of plugin definitions, keyed by identifier.
Overrides InstallablePluginManagerInterface::installedDefinitions
4 calls to InstallablePluginManager::installedDefinitions()
- AllowedHtmlManager::getGroupedDefinitions in src/
PluginManager/ AllowedHtmlManager.php - AllowedHtmlManager::getSortedDefinitions in src/
PluginManager/ AllowedHtmlManager.php - InstallablePluginManager::firstInstalledPluginId in src/
PluginManager/ InstallablePluginManager.php - Retrieves the first installed plugin identifier.
- InstallablePluginManager::installed in src/
PluginManager/ InstallablePluginManager.php - Retrieves all installed plugins.
File
- src/
PluginManager/ InstallablePluginManager.php, line 447
Class
- InstallablePluginManager
- Installable Plugin Manager.
Namespace
Drupal\markdown\PluginManagerCode
public function installedDefinitions() {
return array_filter($this
->getDefinitions(FALSE), function ($definition) {
return $definition
->getId() !== $this
->getFallbackPluginId() && $definition
->isInstalled();
});
}