public function ExportCommand::showMessage in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()
- 8.2 webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()
- 4.x webprofiler/src/Command/ExportCommand.php \Drupal\webprofiler\Command\ExportCommand::showMessage()
File
- webprofiler/
src/ Command/ ExportCommand.php, line 148
Class
- ExportCommand
- Class ExportCommand
Namespace
Drupal\webprofiler\CommandCode
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);
}
}