You are here

public function PackageManagerInterface::getExtensionPackages in Composer Manager 8

Returns the extension packages.

The composer.json file of each extension (module, profile) under each site is loaded and returned.

Return value

array An array of packages, keyed by the providing Drupal extension name.

See also

\Drupal\Core\Extension\ExtensionDiscovery

1 method overrides PackageManagerInterface::getExtensionPackages()
PackageManager::getExtensionPackages in src/PackageManager.php
Returns the extension packages.

File

src/PackageManagerInterface.php, line 29

Class

PackageManagerInterface
Provides an interface for managing composer packages.

Namespace

Drupal\composer_manager

Code

public function getExtensionPackages();