idiot proof the {{ vardumper() }} ...

Created on 15 May 2023, over 1 year ago

Problem/Motivation

Sometimes, we make mistakes (me, usually, all the time).
And a {{ vardumper(content) }} makes its way on to TEST or even LIVE... and a page WSODs... for obvious reasons.

Is there anything I could put in to a custom module that says "oh wait, the vardumper function doens't exist, lets just skip over that..."

Steps to reproduce

Be a dummy and leave a {{ vardumper() }} in your code.

Proposed resolution

Be less of a dummy?

✨ Feature request
Status

Closed: works as designed

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

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

Comments & Activities

  • Issue created by @alphex
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ͺπŸ‡ΈSpain keopx Basque Country

    To work, you need to set it to development mode... so.. the problem is your prod setup.

    See the module info: Configure Drupal to work

Production build 0.71.5 2024