function RecipeCommand::configure

Same name in other branches
  1. 10 core/lib/Drupal/Core/Recipe/RecipeCommand.php \Drupal\Core\Recipe\RecipeCommand::configure()

File

core/lib/Drupal/Core/Recipe/RecipeCommand.php, line 46

Class

RecipeCommand
Applies recipe.

Namespace

Drupal\Core\Recipe

Code

protected function configure() : void {
    $this->setDescription('Applies a recipe to a site.')
        ->addArgument('path', InputArgument::REQUIRED, 'The path to the recipe\'s folder to apply');
    ConsoleInputCollector::configureCommand($this);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.