function CommandProvider::getCommands

Same name in other branches
  1. 8.9.x composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider::getCommands()
  2. 10 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider::getCommands()
  3. 11.x 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(),
    ];
}

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