Created
July 14, 2022 01:32
-
-
Save AlexanderAllen/7616063514b03e4b1bcc185c3efa3b40 to your computer and use it in GitHub Desktop.
Drupal 8: Dump name of all templates processed to filesystem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# src/web/core/lib/Drupal/Core/Theme/ThemeManager.php, line 389 | |
static $c = 1; | |
$filename = '/var/sys/RM26464.log'; | |
if ($c == 1) { | |
$handle = fopen($filename, 'r+'); | |
ftruncate($handle, 0); | |
rewind($handle); | |
// echo fread($handle, filesize($filename)); | |
fclose($handle); | |
} | |
error_log("template $c: $template_file\n", 3, $filename); | |
$c++; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment