public function InstallCommand::execute in CKEditor Media Embed Plugin 8
Same name in this branch
- 8 src/Command/InstallCommand.php \Drupal\ckeditor_media_embed\Command\InstallCommand::execute()
- 8 src/Command/Drush/InstallCommand.php \Drupal\ckeditor_media_embed\Command\Drush\InstallCommand::execute()
Executes the command.
Parameters
\Symfony\Component\Console\Input\InputInterface $input: An InputInterface instance.
\Symfony\Component\Console\Output\OutputInterface $output: An OutputInterface instance.
\Drush\Style\DrushStyle $io: The Drush i/o object.
File
- src/
Command/ Drush/ InstallCommand.php, line 52
Class
- InstallCommand
- Class InstallCommand.
Namespace
Drupal\ckeditor_media_embed\Command\DrushCode
public function execute(InputInterface $input, OutputInterface $output, DrushStyle $io) {
$this->input = $input;
$this->output = $output;
$this->io = $io;
$overwrite = $this->cliCommands
->askToOverwritePluginFiles($this);
if ($overwrite) {
$this->cliCommands
->overwritePluginFiles($this, $overwrite);
}
}