You are here

public function FeaturesGeneratorInterface::generatePackages in Features 8.3

Same name and namespace in other branches
  1. 8.4 src/FeaturesGeneratorInterface.php \Drupal\features\FeaturesGeneratorInterface::generatePackages()

Generates file representations of configuration packages.

Parameters

string $method_id: The ID of the generation method to use.

\Drupal\features\FeaturesBundleInterface $bundle: The bundle used for the generation.

array $package_names: Array of names of packages to be generated. If none are specified, all available packages will be added.

1 method overrides FeaturesGeneratorInterface::generatePackages()
FeaturesGenerator::generatePackages in src/FeaturesGenerator.php
Generates file representations of configuration packages.

File

src/FeaturesGeneratorInterface.php, line 101

Class

FeaturesGeneratorInterface
Common interface for features generation services.

Namespace

Drupal\features

Code

public function generatePackages($method_id, FeaturesBundleInterface $bundle, array $package_names = []);