function merits_krumo

Same name in other branches
  1. 6.x-1.x 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

Code

function merits_krumo($input) {
    return (is_object($input) || is_array($input)) && has_krumo() && variable_get('devel_krumo_skin', '') != 'disabled';
}