function activity_install in Activity 7
Same name and namespace in other branches
- 5.4 activity.install \activity_install()
- 5 activity.install \activity_install()
- 5.2 activity.install \activity_install()
- 5.3 activity.install \activity_install()
- 6.2 activity.install \activity_install()
- 6 activity.install \activity_install()
File
- ./
activity.install, line 4
Code
function activity_install() {
// Set Trigger's weight to 2 so that it will fire AFTER pathauto. This makes
// pathauto alias' work.
if (activity_bad_trigger_weight()) {
drupal_set_message(t('In order for proper Pathauto behavior with Activity module, the Trigger module\'s weight needs to be fixed up. !clickhere', array(
'!clickhere' => l(t('Click here to fix Trigger\'s weight'), 'admin/activity/weight', array(
'query' => drupal_get_destination(),
)),
)), 'warning');
}
}