Registry Order Corrector

Component ID

2879541

Component name

Registry Order Corrector

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The order of registry functions documented on http://drupal.org/node/223430 is not the order actually called by Drupal when a module defines a themehook as having an 'original hook'. This will hopefully be fixed in a future release of Drupal, but until then, this module fixes it for "preprocess" and "process" functions with potentially more to be added.

Adapted from Drupal 6 contrib module Preprocess Order Corrector.