function hudt_squeal in Hook Update Deploy Tools 8
Same name and namespace in other branches
- 7 hook_update_deploy_tools.module \hudt_squeal()
Used for debugging and HUDT development in drush and drupal simultaneously.
Parameters
mixed $thing: The thing to output.
2 calls to hudt_squeal()
- Redirects::outputReport in src/
Redirects.php - Outputs a detailed report to screen or terminal of has been processed.
- Redirects::outputReportSummary in src/
Redirects.php - Outputs a summary report to screen or terminal of has been processed.
File
- ./
hook_update_deploy_tools.module, line 168 - Hooks and other module requirements.
Code
function hudt_squeal($thing) {
if (function_exists('drush_print_r')) {
drush_print_r($thing);
}
else {
dpm($thing);
}
}