You are here

public function WebformCommands::drush_webform_composer_update in Webform 6.x

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

Updates the Drupal installation's composer.json to include the Webform module's selected libraries as repositories.

@command webform:composer:update @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:composer:update Updates the Drupal installation's composer.json to include the Webform module's selected libraries as repositories. @aliases wfcu,webform-composer-update

File

src/Commands/WebformCommands.php, line 330

Class

WebformCommands
Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

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