From 6c4512570893fdbe5e29a93406cfa3bf9d543b18 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Tue, 11 Nov 2025 20:34:37 +0000 Subject: [PATCH 1/2] Add `force` option to dump tag See: https://github.com/statamic/cms/pull/13003 --- content/collections/tags/dump.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/collections/tags/dump.md b/content/collections/tags/dump.md index e78659ab2..3b9fed819 100644 --- a/content/collections/tags/dump.md +++ b/content/collections/tags/dump.md @@ -21,6 +21,25 @@ Dropping it in a template or layout will show you all the data that's been injec ``` :: +:::tip +dump will return nothing when your app.debug config is false +::: + +If you really need your dump to display when debugging is turned off you can use the `force` parameter: + +::tabs + +::tab antlers +```antlers +{{ dump force="true" }} +``` +::tab blade +```blade + +``` +:: + + Dropping it inside a loop will dump all the data _just for that loop context_. ::tabs From 2f9304316794795e4cdd4ede849df301bdcb5a71 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 12 Nov 2025 09:53:05 +0000 Subject: [PATCH 2/2] Fix typo and tweak wording --- content/collections/tags/dump.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/collections/tags/dump.md b/content/collections/tags/dump.md index 3b9fed819..3a8409717 100644 --- a/content/collections/tags/dump.md +++ b/content/collections/tags/dump.md @@ -22,10 +22,10 @@ Dropping it in a template or layout will show you all the data that's been injec :: :::tip -dump will return nothing when your app.debug config is false +The `dump` tag will output dumps when `APP_DEBUG` is `true`. ::: -If you really need your dump to display when debugging is turned off you can use the `force` parameter: +If you need to dump something when debug mode is disabled, you can use the `force` parameter: ::tabs @@ -35,7 +35,7 @@ If you really need your dump to display when debugging is turned off you can use ``` ::tab blade ```blade - + ``` ::