Module Description
This module offers to display methods and statics available for an object when using Kint. It was created because the Devel module maintainers decided to remove the Kint plugins responsible for showing object available methods and static class properties in version 3.0 of the module (the relevant issue).
What's the catch?
The biggest reason to remove these plugins was to prevent out-of-memory errors. So, to make sure you don't run into these when using this module, make sure to add the following snippet to your settings.php/local.settings.php:
if (class_exists('Kint')) { // Change the maximum depth to prevent out-of-memory errors. \Kint::$max_depth = 4; } In Kint 4 this setting was renamed, so if you're using that version use the following snippet:
if (class_exists('Kint')) { // Change the maximum depth to prevent out-of-memory errors. \Kint::$depth_limit= 4; } Configuration
Enable the module as usual. This will replace the default Kint dumper and should work without any other configuration.
What's the catch?
The biggest reason to remove these plugins was to prevent out-of-memory errors. So, to make sure you don't run into these when using this module, make sure to add the following snippet to your settings.php/local.settings.php:
if (class_exists('Kint')) { // Change the maximum depth to prevent out-of-memory errors. \Kint::$max_depth = 4; } In Kint 4 this setting was renamed, so if you're using that version use the following snippet:
if (class_exists('Kint')) { // Change the maximum depth to prevent out-of-memory errors. \Kint::$depth_limit= 4; } Configuration
Enable the module as usual. This will replace the default Kint dumper and should work without any other configuration.
Module Link
Project Usage
5728
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of displaying object methods and statics available when using Kint, after the Devel module removed the relevant plugins in version 3.0 to prevent out-of-memory errors.
Data Name
devel_kint_extras