function kint
Alias of Kint::dump().
Prints passed argument(s) using Kint debug tool.
7 string references to 'kint'
- DevelDumperTest::testDumpersConfiguration in tests/
src/ Functional/ DevelDumperTest.php - Test dumpers configuration page.
- devel_update_8001 in ./
devel.install - Set the default devel dumper plugin.
- Kint.class.php in kint/
kint/ Kint.class.php - KintExtension::getFunctions in kint/
src/ Twig/ KintExtension.php - KintExtension::getName in kint/
src/ Twig/ KintExtension.php
File
-
kint/
kint.module, line 10
Code
function kint() {
kint_require();
if (\Drupal::currentUser()->hasPermission('access kint')) {
$args = func_get_args();
if (PHP_SAPI === 'cli') {
s($args);
}
else {
\Kint::dump($args);
}
}
}