public function HackedCommands::validateDetailsCommand in Hacked! 8.2
Validates the hacked:details command.
@hook validate hacked:details
File
- src/
Commands/ HackedCommands.php, line 229
Class
- HackedCommands
- A Drush commandfile for Hacked! module.
Namespace
Drupal\hacked\CommandsCode
public function validateDetailsCommand(CommandData $command_data) {
$machine_name = $command_data
->arguments()['machine_name'];
$this
->validateProjectName($machine_name);
}