You are here

function dcp in Devel 7

Same name and namespace in other branches
  1. 8 devel.module \dcp()
  2. 8.2 devel.module \dcp()
  3. 6 devel.module \dcp()

Wrapper for ChromePHP Class log method.

File

./devel.module, line 553
This module holds functions useful for Drupal development.

Code

function dcp() {
  if (class_exists('ChromePhp', FALSE) && user_access('access devel information')) {
    $args = func_get_args();
    call_user_func_array(array(
      'ChromePhp',
      'log',
    ), $args);
  }
}