public function Drupal8::debug in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::debug()
- 7.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::debug()
Prints debugging information.
Overrides Framework::debug
File
- api/
src/ Framework/ Drupal8.php, line 314
Class
- Drupal8
- Drupal 8-specific code.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function debug($message, $info = NULL) {
$this
->watchdog('<pre>' . print_r([
$info => $message,
], TRUE) . '</pre>');
}