@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * Code for the Commerce Product feature. |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * Code for the Commerce Product feature. |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | include_once 'df_tools_commerce_product.features.inc'; |
8 | 8 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | $this->destination = new MigrateDestinationFieldablePanelsPanes('commerce_product'); |
41 | 41 | |
42 | 42 | $source_migration = isset($arguments['source_migration']) ? $arguments['source_migration'] : 'DemoFrameworkBaseCommerceNodes'; |
43 | - $this->addFieldMapping('field_commerce_product_reference', 'Product')->separator(',')->sourceMigration($source_migration);; |
|
43 | + $this->addFieldMapping('field_commerce_product_reference', 'Product')->separator(',')->sourceMigration($source_migration); ; |
|
44 | 44 | |
45 | 45 | $this->addFieldMapping('title', 'Title'); |
46 | 46 | $this->addFieldMapping('category', 'Category')->defaultValue('Reusable panes'); |
@@ -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)); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * df_tools_commerce_product.fieldable_panels_pane_type.inc |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * df_tools_commerce_product.fieldable_panels_pane_type.inc |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Implements hook_default_fieldable_panels_pane_type(). |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * Code for the DF Tools Services feature. |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * Code for the DF Tools Services feature. |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | include_once 'df_tools_services.features.inc'; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * df_tools_moderation.rules_defaults.inc |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * df_tools_moderation.rules_defaults.inc |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Implements hook_default_rules_configuration(). |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * Code for the df_tools_ctools module. |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * Code for the df_tools_ctools module. |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Implements hook_form_FORM_ID_alter(). |
@@ -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 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * dfs_wem.features.field_instance.inc |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * dfs_wem.features.field_instance.inc |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * Code for the DFS WEM Users feature. |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * Code for the DFS WEM Users feature. |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | include_once 'dfs_wem_users.features.inc'; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @file |
|
4 | - * dfs_wem_users.features.inc |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * dfs_wem_users.features.inc |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Implements hook_ctools_plugin_api(). |