You are here

public function ExportCommand::showMessage in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()
  2. 8.2 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()
  3. 4.x webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()

File

webprofiler/src/Command/ExportCommand.php, line 150

Class

ExportCommand
Class ExportCommand.

Namespace

Drupal\webprofiler\Command

Code

public function showMessage($output, $message, $type = 'info') {
  if (!$this->filename) {
    return;
  }
  $completeMessageKey = 'commands.webprofiler.export.messages.success';
  $completeMessage = sprintf($this
    ->trans($completeMessageKey), $this->filename);
  if ($completeMessage != $completeMessageKey) {
    parent::showMessage($output, $completeMessage);
  }
}