function RecipeCommand::configure

Same name in this branch
  1. main core/lib/Drupal/Core/Recipe/RecipeCommand.php \Drupal\Core\Recipe\RecipeCommand::configure()
Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipeCommand.php \Drupal\Core\Recipe\RecipeCommand::configure()
  2. 10 core/lib/Drupal/Core/Recipe/RecipeCommand.php \Drupal\Core\Recipe\RecipeCommand::configure()
  3. 11.x core/lib/Drupal/Core/Recipe/Command/RecipeCommand.php \Drupal\Core\Recipe\Command\RecipeCommand::configure()

File

core/lib/Drupal/Core/Recipe/Command/RecipeCommand.php, line 58

Class

RecipeCommand
Applies recipe.

Namespace

Drupal\Core\Recipe\Command

Code

protected function configure() : void {
  $this->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.