public function CKEditorCliCommandInterface::confirmation in CKEditor Media Embed Plugin 8
Present confirmation question to user.
Parameters
string $question: The confirmation question.
$default: The default value to return if user doesn’t enter any valid input.
Return value
mixed The user answer
2 methods override CKEditorCliCommandInterface::confirmation()
- InstallCommand::confirmation in src/
Command/ InstallCommand.php - Present confirmation question to user.
- InstallCommand::confirmation in src/
Command/ Drush/ InstallCommand.php - Present confirmation question to user.
File
- src/
Command/ CKEditorCliCommandInterface.php, line 43
Class
Namespace
Drupal\ckeditor_media_embed\CommandCode
public function confirmation($question, $default = FALSE);