function context_reaction_theme_install in Context Reaction: Theme 7
Same name and namespace in other branches
- 6.2 context_reaction_theme.install \context_reaction_theme_install()
Implements hook_install().
Set weight to 99 so we're one of the last modules to run. Can help with timing in some cases (like og_subgroups)
File
- ./
context_reaction_theme.install, line 14 - Context plugin file to provide changing the active theme as a context reaction.
Code
function context_reaction_theme_install() {
db_update('system')
->fields(array(
'weight' => 99,
))
->condition('name', 'context_reaction_theme')
->execute();
}