function RecipeInfoCommand::configure

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

File

core/lib/Drupal/Core/Recipe/Command/RecipeInfoCommand.php, line 30

Class

RecipeInfoCommand
Shows information about a particular recipe.

Namespace

Drupal\Core\Recipe\Command

Code

protected function configure() : void {
  $this->addArgument('path', InputArgument::REQUIRED, 'The path to the recipe\'s folder');
}

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