You are here

public function CommandProvider::getCommands in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider::getCommands()
  2. 9 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider::getCommands()

File

composer/Plugin/Scaffold/CommandProvider.php, line 17

Class

CommandProvider
List of all commands provided by this package.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function getCommands() {
  return [
    new ComposerScaffoldCommand(),
  ];
}