You are here

public function FeaturesManagerInterface::getFeaturesModules in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesManagerInterface.php \Drupal\features\FeaturesManagerInterface::getFeaturesModules()

Returns a list of Features modules regardless of if they are installed.

Parameters

\Drupal\features\FeaturesBundleInterface $bundle: Optional bundle to filter module list. If given, only modules matching the bundle namespace will be returned. If the bundle uses a profile, only modules in the profile will be returned.

bool $installed: List only installed modules.

Return value

Drupal\Core\Extension\Extension[] An array of extension objects.

1 method overrides FeaturesManagerInterface::getFeaturesModules()
FeaturesManager::getFeaturesModules in src/FeaturesManager.php
Returns a list of Features modules regardless of if they are installed.

File

src/FeaturesManagerInterface.php, line 465

Class

FeaturesManagerInterface
Provides an interface for the FeaturesManager.

Namespace

Drupal\features

Code

public function getFeaturesModules(FeaturesBundleInterface $bundle = NULL, $installed = FALSE);