Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommandProvider.php

class CommandProvider

List of all commands provided by this package.

@internal

Hierarchy

  • class \Drupal\Composer\Plugin\Scaffold\CommandProvider implements \Composer\Plugin\Capability\CommandProvider

Expanded class hierarchy of CommandProvider

1 file declares its use of CommandProvider
Plugin.php in composer/Plugin/Scaffold/Plugin.php

File

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

Namespace

Drupal\Composer\Plugin\Scaffold
View source
class CommandProvider implements CommandProviderCapability {
    
    /**
     * {@inheritdoc}
     */
    public function getCommands() {
        return [
            new ComposerScaffoldCommand(),
        ];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
CommandProvider::getCommands public function Retrieves an array of commands Overrides CommandProvider::getCommands

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal