commons_seo.install in Drupal Commons 6.2
File
modules/features/commons_seo/commons_seo.installView source
<?php
/**
* Implementation of hook_install()
*/
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);
}
Functions
Name | Description |
---|---|
commons_seo_install | Implementation of hook_install() |