Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moreonion/drupal-theming
Sensible defaults for Drupal7 theming.
https://github.com/moreonion/drupal-theming
Last synced: about 1 month ago
JSON representation
Sensible defaults for Drupal7 theming.
- Host: GitHub
- URL: https://github.com/moreonion/drupal-theming
- Owner: moreonion
- Created: 2020-11-13T08:58:36.000Z (about 4 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2024-01-16T15:09:13.000Z (12 months ago)
- Last Synced: 2024-04-14T23:17:03.229Z (9 months ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/moreonion/drupal-theming.svg?branch=7.x-1.x)](https://travis-ci.com/moreonion/drupal-theming) [![codecov](https://codecov.io/gh/moreonion/drupal-theming/branch/7.x-1.x/graph/badge.svg)](https://codecov.io/gh/moreonion/drupal-theming)
# Theming
This is a Drupal module that replaces some Drupal core theme functions with more extensible and backwards compatible versions.
*This is a utility module. If no other module you want to have installed requires this you don’t need it.*
## Requirements
* Drupal 7.x
## Rationale
### Can’t this be handled in a theme?
No, themes can’t implement `hook_theme_registry_alter()` which is used for implementing the changes. Also having this in a module makes it possible for other modules to depend on it.
### Why don’t you patch Drupal core instead?
Getting such changes merged into Drupal 7.x was barely possible in 2012 (shortly after it was released). It’s near impossible now (2020).