You are here

function kint_lite in Devel 8

Same name and namespace in other branches
  1. 8.2 kint/kint.module \kint_lite()

Alias of Kint::kintLite().

Prints with lightweight formatting, using whitespace for formatting instead of HTML.

File

kint/kint.module, line 41

Code

function kint_lite() {
  if (\Drupal::currentUser()
    ->hasPermission('access kint')) {
    $args = func_get_args();
    call_user_func_array('kintLite', $args);
  }
}