function merits_krumo in Devel 7
Same name and namespace in other branches
- 6 devel.module \merits_krumo()
Decides whether or not to print a debug variable using krumo().
Parameters
array|object $input: The value to check.
Return value
boolean TRUE if the input complex enough and Krumo is available and not disabled, FALSE otherwise.
2 calls to merits_krumo()
- devel_variable_form in ./
devel.pages.inc - Form constructor for displaying and editing variables.
- kprint_r in ./
devel.module - Returns a message using Krumo.
File
- ./
devel.module, line 527 - This module holds functions useful for Drupal development.
Code
function merits_krumo($input) {
return (is_object($input) || is_array($input)) && has_krumo() && variable_get('devel_krumo_skin', '') != 'disabled';
}