You are here

public function Drush8Io::confirm in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Cli/Drush8Io.php \Drupal\cms_content_sync\Cli\Drush8Io::confirm()
  2. 2.0.x src/Cli/Drush8Io.php \Drupal\cms_content_sync\Cli\Drush8Io::confirm()

Ask the user to confirm interactively.

Parameters

string $text:

bool $default:

Return value

bool

Overrides ICLIIO::confirm

File

src/Cli/Drush8Io.php, line 18

Class

Drush8Io
Class Drush8Io.

Namespace

Drupal\cms_content_sync\Cli

Code

public function confirm($text, $default = true) {
  return drush_confirm($text);
}