Template Diff
When developing a theme, there is often a need to understand why a theme needed to override the template provided by the base theme. Displaying the diff between the two templates would help with this.
This module provides a command that accepts a template name and will display the diff between two specified themes or modules. If no theme is specified it defaults to the active theme.
Examples:
Compare the the views-view template in my_theme theme vs your_theme.
drush template_diff:show views-view my_theme your_theme
Compare the the views-view template in my_theme theme vs your_module.
drush template_diff:show views-view my_theme your_module
Compare the the views-view template in the active theme vs its base theme.
drush template_diff:show views-view
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.3.0 | Stable | Drupal 11 support. | Oct 2, 2024 |