function commons_seo_install in Drupal Commons 6.2
Implementation of hook_install()
File
- modules/
features/ commons_seo/ commons_seo.install, line 6
Code
function commons_seo_install() {
// Include the strongarm export
module_load_include('inc', 'commons_seo', 'commons_seo.strongarm');
// Load the exported variables
$vars = commons_seo_strongarm();
// Set this variable to avoid the feature installing as overridden
variable_set('pathauto_taxonomy_2_pattern', $vars['pathauto_taxonomy_2_pattern']->value);
}