public function FeaturesManagerInterface::filterPackages in Features 8.4
Same name and namespace in other branches
- 8.3 src/FeaturesManagerInterface.php \Drupal\features\FeaturesManagerInterface::filterPackages()
Filters the supplied package list by the given namespace.
Parameters
\Drupal\features\Package[] $packages: An array of packages.
string $namespace: The namespace to use.
bool $only_exported: If true, only filter out packages that are exported.
Return value
\Drupal\features\Package[] An array of packages.
1 method overrides FeaturesManagerInterface::filterPackages()
- FeaturesManager::filterPackages in src/
FeaturesManager.php - Filters the supplied package list by the given namespace.
File
- src/
FeaturesManagerInterface.php, line 210
Class
- FeaturesManagerInterface
- Provides an interface for the FeaturesManager.
Namespace
Drupal\featuresCode
public function filterPackages(array $packages, $namespace = '', $only_exported = FALSE);