@@ -137,7 +137,7 @@ |
||
| 137 | 137 | * The machine name of the scenario feature. |
| 138 | 138 | * @param string $rollback |
| 139 | 139 | * Boolean: rollback existing demo content. |
| 140 | - */ |
|
| 140 | + */ |
|
| 141 | 141 | function drush_df_admin_reset_scenario($scenario) { |
| 142 | 142 | $rollback = drush_get_option('rollback', TRUE); |
| 143 | 143 | $seed = drush_get_option('seed', TRUE); |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | $import_path = drupal_get_path('module', 'dfs_med') . '/import/'; |
| 90 | 90 | $this->source = new MigrateSourceCSV($import_path . 'dfs_med.nodes.episode.csv', $this->csvcolumns(), array('header_rows' => 1)); |
| 91 | 91 | $this->addFieldMapping('value', 'video'); |
| 92 | - } |
|
| 92 | + } |
|
| 93 | 93 | |
| 94 | 94 | function csvcolumns() { |
| 95 | 95 | $columns[10] = array('video', 'Video'); |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | |
| 7 | 7 | class DFToolsBeanBlock extends BeanPlugin { |
| 8 | 8 | |
| 9 | - /** |
|
| 10 | - * Declares default block settings. |
|
| 11 | - */ |
|
| 9 | + /** |
|
| 10 | + * Declares default block settings. |
|
| 11 | + */ |
|
| 12 | 12 | public function values() { |
| 13 | 13 | return array( |
| 14 | 14 | 'view_mode' => 'default', |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | $import_path = drupal_get_path('module', 'dfs_med') . '/import/'; |
| 90 | 90 | $this->source = new MigrateSourceCSV($import_path . 'dfs_med.nodes.episode.csv', $this->csvcolumns(), array('header_rows' => 1)); |
| 91 | 91 | $this->addFieldMapping('value', 'video'); |
| 92 | - } |
|
| 92 | + } |
|
| 93 | 93 | |
| 94 | 94 | function csvcolumns() { |
| 95 | 95 | $columns[10] = array('video', 'Video'); |
@@ -15,5 +15,5 @@ |
||
| 15 | 15 | $overrides["field_group.group_com_tabs|node|commerce|form.data|weight"] = 2; |
| 16 | 16 | $overrides["field_group.group_product|node|commerce|form.data|children|2"] = 'field_product_image'; |
| 17 | 17 | |
| 18 | - return $overrides; |
|
| 18 | + return $overrides; |
|
| 19 | 19 | } |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * Implements hook_navbar_alter(). |
| 79 | 79 | */ |
| 80 | 80 | function df_admin_navbar_alter(&$items) { |
| 81 | - foreach ($items['administration']['tray']['navbar_administration']['administration_menu'] as $mid => $item) { |
|
| 81 | + foreach ($items['administration']['tray']['navbar_administration']['administration_menu'] as $mid => $item) { |
|
| 82 | 82 | // Change "My Workbench" to "Workbench" in the Navbar. |
| 83 | 83 | if (isset($item['#href']) && $item['#href'] == 'admin/workbench') { |
| 84 | 84 | $items['administration']['tray']['navbar_administration']['administration_menu'][$mid]['#title'] = 'Workbench'; |