You are here

function kint_trace in Devel 8.2

Same name and namespace in other branches
  1. 8 kint/kint.module \kint_trace()

Alias of Kint::trace().

Prints backtrace in Kint debug tool.

File

kint/kint.module, line 28

Code

function kint_trace() {
  kint_require();
  if (\Drupal::currentUser()
    ->hasPermission('access kint')) {
    call_user_func_array([
      'Kint',
      'trace',
    ], []);
  }
}