You are here

protected function InstallCommand::execute in CKEditor Media Embed Plugin 8

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

File

src/Command/InstallCommand.php, line 55

Class

InstallCommand
Class InstallCommand.

Namespace

Drupal\ckeditor_media_embed\Command

Code

protected function execute(InputInterface $input, OutputInterface $output) {
  $this->input = $input;
  $this->output = $output;
  $this->io = new DrupalStyle($input, $output);
  $overwrite = $this->cliCommands
    ->askToOverwritePluginFiles($this);
  if ($overwrite) {
    $this->cliCommands
      ->overwritePluginFiles($this, $overwrite);
  }
}