protected function Kint::configure in Devel 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/Devel/Dumper/Kint.php \Drupal\devel\Plugin\Devel\Dumper\Kint::configure()
Configures kint with more sane values.
1 call to Kint::configure()
- Kint::__construct in src/
Plugin/ Devel/ Dumper/ Kint.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Plugin/ Devel/ Dumper/ Kint.php, line 32
Class
- Kint
- Provides a Kint dumper plugin.
Namespace
Drupal\devel\Plugin\Devel\DumperCode
protected function configure() {
// Remove resource-hungry plugins.
\Kint::$plugins = array_diff(\Kint::$plugins, [
'Kint\\Parser\\ClassMethodsPlugin',
'Kint\\Parser\\ClassStaticsPlugin',
'Kint\\Parser\\IteratorPlugin',
]);
\Kint::$aliases = $this
->getInternalFunctions();
RichRenderer::$folder = FALSE;
BlacklistPlugin::$shallow_blacklist[] = ContainerInterface::class;
}