modules/df/df_admin/df_admin.enable.inc 1 location
|
@@ 37-40 (lines=4) @@
|
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
// Load info file to grab dependencies. |
| 37 |
|
if (!$info = drupal_parse_info_file(drupal_get_path('module', $module) . '/' . $module . '.info')) { |
| 38 |
|
drupal_set_message(t('Unable to load Scenario .info file'), 'error'); |
| 39 |
|
return FALSE; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
// Enable the scenario feature's DF dependencies. |
| 43 |
|
foreach ($info['dependencies'] as $dependency) { |
modules/df/df_admin/df_admin.subscenario.inc 1 location
|
@@ 19-22 (lines=4) @@
|
| 16 |
|
} |
| 17 |
|
|
| 18 |
|
// Load info file to grab base scenario. |
| 19 |
|
if (!$info = drupal_parse_info_file(drupal_get_path('module', $module) . '/' . $module . '.info')) { |
| 20 |
|
drupal_set_message(t('Unable to load Scenario .info file'), 'error'); |
| 21 |
|
return FALSE; |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
// Check to see if this is a valid sub-scenario. |
| 25 |
|
if (!isset($info['base_scenario'])) { |
modules/df/df_admin/df_admin.uninstall.inc 1 location
|
@@ 31-34 (lines=4) @@
|
| 28 |
|
} |
| 29 |
|
|
| 30 |
|
// Load info file to grab dependencies. |
| 31 |
|
if (!$info = drupal_parse_info_file(drupal_get_path('module', $scenario) . '/' . $scenario . '.info')) { |
| 32 |
|
drupal_set_message(t('Unable to load Scenario .info file'), 'error'); |
| 33 |
|
return FALSE; |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
// Rollback Migrated content. |
| 37 |
|
|