Add settings to the devel configuration page

Created on 4 May 2023, almost 2 years ago

Problem/Motivation

Great module, thank you!

Wouldn't it make sense to be able to enable / disable these options on the Devel settings page? So you could use them, when you need them. I'm not sure, if it's possible, but if we could configure the \Kint::$depth_limit at runtime and select the value on the Devel settings page, that would be a real benefit.

Steps to reproduce

Proposed resolution

Allow to configure the functionalities on the Devel configuration page by altering the settings form

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anybody
  • 🇧🇪Belgium dieterholvoet Brussels

    That would make the module more user friendly for sure, but I wouldn't know where we would assign the config value to \Kint::$depth_limit. It would need to happen as early as possible so that any place where users use Kint, the $depth_limit is already changed. We could try to do it in a middleware, but one that runs at a time where the config factory is already accessible.

    This is not something I'm going to work on anytime soon, but I'm happy to help/review if anyone else wants to give this a go.

Production build 0.71.5 2024