You are here

interface CKEditorCliCommandInterface in CKEditor Media Embed Plugin 8

Hierarchy

Expanded class hierarchy of CKEditorCliCommandInterface

All classes that implement CKEditorCliCommandInterface

1 file declares its use of CKEditorCliCommandInterface
InstallCommand.php in src/Command/Drush/InstallCommand.php

File

src/Command/CKEditorCliCommandInterface.php, line 5

Namespace

Drupal\ckeditor_media_embed\Command
View source
interface CKEditorCliCommandInterface {

  /**
   * Retrieve the command input service.
   *
   * @return \Symfony\Component\Console\Input\InputInterface
   */
  public function getInput();

  /**
   * Retrieve the i/o style.
   *
   * @return \Symfony\Component\Console\Style\StyleInterface
   */
  public function getIo();

  /**
   * Retrieve message text.
   *
   * @param string $message_key
   *   The key of the requested message.
   *
   * @return string
   *   The requested message.
   */
  public function getMessage($message_key);

  /**
   * Present confirmation question to user.
   *
   * @param string $question
   *   The confirmation question.
   * @param $default
   *   The default value to return if user doesn’t enter any valid input.
   *
   * @return mixed
   *   The user answer
   */
  public function confirmation($question, $default = FALSE);

  /**
   * Output message in comment style.
   *
   * @param string $text
   *   The comment message.
   */
  public function comment($text);

}

Members

Namesort descending Modifiers Type Description Overrides
CKEditorCliCommandInterface::comment public function Output message in comment style. 2
CKEditorCliCommandInterface::confirmation public function Present confirmation question to user. 2
CKEditorCliCommandInterface::getInput public function Retrieve the command input service. 2
CKEditorCliCommandInterface::getIo public function Retrieve the i/o style. 2
CKEditorCliCommandInterface::getMessage public function Retrieve message text. 2