You are here

public function FeaturesGenerator::getGenerationMethods in Features 8.3

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

Returns the enabled package generation methods.

Return value

array An array of package generation method definitions keyed by method id.

Overrides FeaturesGeneratorInterface::getGenerationMethods

File

src/FeaturesGenerator.php, line 119

Class

FeaturesGenerator
Class responsible for performing package generation.

Namespace

Drupal\features

Code

public function getGenerationMethods() {
  return $this->generatorManager
    ->getDefinitions();
}