You are here

public function InstallCommand::__construct in CKEditor Media Embed Plugin 8

Same name in this branch
  1. 8 src/Command/InstallCommand.php \Drupal\ckeditor_media_embed\Command\InstallCommand::__construct()
  2. 8 src/Command/Drush/InstallCommand.php \Drupal\ckeditor_media_embed\Command\Drush\InstallCommand::__construct()

Constructs command object.

Parameters

\Drupal\ckeditor_media_embed\Command\CliCommandWrapper $cli_commands: The CKEditor Media Embed CLI Commands service.

File

src/Command/Drush/InstallCommand.php, line 37

Class

InstallCommand
Class InstallCommand.

Namespace

Drupal\ckeditor_media_embed\Command\Drush

Code

public function __construct(CliCommandWrapper $cli_commands) {
  $this->cliCommands = $cli_commands;
  $this
    ->setMessages();
}