You are here

function migrate_extras_init in Migrate Extras 7.2

Same name and namespace in other branches
  1. 6.2 migrate_extras.module \migrate_extras_init()

File

./migrate_extras.module, line 3

Code

function migrate_extras_init() {

  // Set variable to FALSE to disable rules processing.
  if (module_exists('rules') && !variable_get('migrate_extras_rules', TRUE)) {
    foreach (rules_get_event_sets() as $key => $set) {
      $GLOBALS['conf']['rules_inactive_sets'][] = $key;
    }
  }
}