You are here

public function WebformCommandsBase::drush_choice in Webform 6.x

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

File

src/Commands/WebformCommandsBase.php, line 43

Class

WebformCommandsBase
Base class for Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_choice($choices, $msg, $default = NULL) {
  return $this
    ->io()
    ->choice($msg, $choices, $default);
}