Skip to content

Instantly share code, notes, and snippets.

View jigarkkarangiya's full-sized avatar

Jigar Karangiya jigarkkarangiya

View GitHub Profile
@jigarkkarangiya
jigarkkarangiya / DEBUG-COMMENT-BY-JIGAR.patch
Created April 4, 2024 13:01
Patch to Show/Add Templates, Blocks and Block Names in the Comment
From: Jigar Karangiya <hello@jigarkarangiya.com>
Date: Friday, 23 Feb 2024 17:47:31 +0000
Subject: [PATCH] This Patch Adds Templates, Blocks and Block Names in the comment.
diff --git a/vendor/magento/framework/View/Element/Template.php b/vendor/magento/framework/View/Element/Template.php
index e9f164ca2..dcd490fd7 100644
--- a/vendor/magento/framework/View/Element/Template.php
+++ b/vendor/magento/framework/View/Element/Template.php
@@ -297,10 +297,13 @@ class Template extends AbstractBlock
*/