@@ -34,8 +34,7 @@ |
||
| 34 | 34 | // Create a MigrateSource object. |
| 35 | 35 | if (isset($arguments['path'])) { |
| 36 | 36 | $import_path = $arguments['path']; |
| 37 | - } |
|
| 38 | - else { |
|
| 37 | + } else { |
|
| 39 | 38 | $import_path = drupal_get_path('module', 'df_tools_fpp') . '/import/df_tools_fpp.text.csv'; |
| 40 | 39 | } |
| 41 | 40 | $this->source = new MigrateSourceCSV($import_path, array(), array('header_rows' => 1)); |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | // Create a MigrateSource object. |
| 27 | 27 | if (isset($arguments['path'])) { |
| 28 | 28 | $import_path = $arguments['path']; |
| 29 | - } |
|
| 30 | - else { |
|
| 29 | + } else { |
|
| 31 | 30 | $import_path = drupal_get_path('module', 'df_tools_panelizer') . '/import/df_tools_panelizer.nodes.landing.csv'; |
| 32 | 31 | } |
| 33 | 32 | $this->source = new MigrateSourceCSV($import_path, array(), array('header_rows' => 1)); |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | // Create a MigrateSource object. |
| 35 | 35 | if (isset($arguments['path'])) { |
| 36 | 36 | $import_path = $arguments['path']; |
| 37 | - } |
|
| 38 | - else { |
|
| 37 | + } else { |
|
| 39 | 38 | $import_path = drupal_get_path('module', 'df_tools_slideshow') . '/import/df_tools_slideshow.fpp.slideshow.csv'; |
| 40 | 39 | } |
| 41 | 40 | $this->source = new MigrateSourceCSV($import_path, array(), array('header_rows' => 1)); |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | // Create a MigrateSource object. |
| 33 | 33 | if (isset($arguments['path'])) { |
| 34 | 34 | $import_path = $arguments['path']; |
| 35 | - } |
|
| 36 | - else { |
|
| 35 | + } else { |
|
| 37 | 36 | $import_path = drupal_get_path('module', 'df_tools_commerce_product') . '/import/df_tools_commerce.fpp.commerce_product.csv'; |
| 38 | 37 | } |
| 39 | 38 | $this->source = new MigrateSourceCSV($import_path, array(), array('header_rows' => 1)); |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | 'title' => render($form['actions'][$key]), |
| 64 | 64 | 'html' => TRUE |
| 65 | 65 | ); |
| 66 | - } |
|
| 67 | - else { |
|
| 66 | + } else { |
|
| 68 | 67 | $button_1[$key] = array( |
| 69 | 68 | 'title' => render($form['actions'][$key]), |
| 70 | 69 | 'html' => TRUE |
@@ -55,8 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | drupal_set_message(t('Successfully exported Panelizer display for Node @nid to @panels_file', ['@nid' => $node->id(), '@panels_file' => $panels_file])); |
| 57 | 57 | return TRUE; |
| 58 | - } |
|
| 59 | - else { |
|
| 58 | + } else { |
|
| 60 | 59 | drupal_set_message(t('The given Node is not Panelized.'), 'error'); |
| 61 | 60 | return FALSE; |
| 62 | 61 | } |
@@ -37,8 +37,7 @@ |
||
| 37 | 37 | </div> |
| 38 | 38 | </div> |
| 39 | 39 | '; |
| 40 | - } |
|
| 41 | - else { |
|
| 40 | + } else { |
|
| 42 | 41 | $block['content'] = ' |
| 43 | 42 | <div class="user-header-block"> |
| 44 | 43 | <div class="uh-container"> |