Experimental project
This is a sandbox project, which contains experimental code for developer use only.
From #875180: Map Features Regions to alternate Theme Regions.
The Kit features spec is a step towards enabling interoperability of features, but there's still a need to be able to adjust features to a local install. Regions are a case in point: contexts used for block placement in a feature need to specify a region, but that region may not be available in a given site's theme.
The attached module is a first cut at addressing this need. It provides a configuration form at admin/build/features/customize, with a sub menu item there for each enabled theme. For each region specified in a feature context but not available in the given theme, an admin can select a region to be used.
hook_context_load_alter() is used to switch out the unavailable regions for ones mapped for the current theme.
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsObsolete
Use of this project is deprecated.- Created by nedjo on , updated