You are here

public function WebformCommands::drush_webform_libraries_composer in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Commands/WebformCommands.php \Drupal\webform\Commands\WebformCommands::drush_webform_libraries_composer()

Generates the Webform module's composer.json with libraries as repositories.

@command webform:libraries:composer @option disable-tls If set to true all HTTPS URLs will be tried with HTTP instead and no network level encryption is performed. @usage webform:libraries:composer Generates the Webform module's composer.json with libraries as repositories. @aliases wflc,webform-libraries-composer

File

src/Commands/WebformCommands.php, line 186

Class

WebformCommands
Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_webform_libraries_composer(array $options = [
  'disable-tls' => FALSE,
]) {
  $this->cliService
    ->drush_webform_libraries_composer();
}