You are here

function dcp in Devel 8

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

Wrapper for DevelDumperManager::dump().

Wrapper for ChromePHP Class log method.

See also

\Drupal\devel\DevelDumperManager::dump()

File

./devel.module, line 318
This module holds functions useful for Drupal development. Please contribute!

Code

function dcp() {
  $args = func_get_args();
  \Drupal::service('devel.dumper')
    ->dump($args, NULL, 'chromephp');
}