context_reaction_theme.install in Context Reaction: Theme 7
Same filename and directory in other branches
Context plugin file to provide changing the active theme as a context reaction.
File
context_reaction_theme.installView source
<?php
/**
* @file
* Context plugin file to provide changing the active theme as a context
* reaction.
*/
/**
* 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)
*/
function context_reaction_theme_install() {
db_update('system')
->fields(array(
'weight' => 99,
))
->condition('name', 'context_reaction_theme')
->execute();
}
Functions
Name | Description |
---|---|
context_reaction_theme_install | Implements hook_install(). |