You are here

function hudt_squeal in Hook Update Deploy Tools 7

Same name and namespace in other branches
  1. 8 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 197
Hooks and other module requirements.

Code

function hudt_squeal($thing) {
  if (function_exists('drush_print_r')) {
    drush_print_r($thing);
  }
  elseif (function_exists('dpm')) {
    dpm($thing);
  }
}