@@ -1,8 +1,8 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | 'weight' => 1, |
| 215 | 215 | ), |
| 216 | 216 | ); |
| 217 | - // Exported field_instance: 'node-group-body' |
|
| 217 | + // Exported field_instance: 'node-group-body' |
|
| 218 | 218 | $field_instances["$entity_type-$bundle-body"] = array( |
| 219 | 219 | 'bundle' => $bundle, |
| 220 | 220 | 'default_value' => NULL, |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | $commons_groups_entity_types = commons_groups_get_group_content_entity_types(); |
| 14 | 14 | if (!empty($commons_groups_entity_types)) { |
| 15 | 15 | foreach ($commons_groups_entity_types as $entity_type => $bundles) { |
| 16 | - foreach(array_keys($bundles) as $bundle) { |
|
| 16 | + foreach (array_keys($bundles) as $bundle) { |
|
| 17 | 17 | commons_groups_field_definition($field_instances, $entity_type, $bundle); |
| 18 | 18 | } |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | // to create the group audience field for it when installing the profile. |
| 26 | 26 | $group_bundles['node'] = array('group' => TRUE); |
| 27 | 27 | } |
| 28 | - foreach(array_keys($group_bundles['node']) as $bundle) { |
|
| 28 | + foreach (array_keys($group_bundles['node']) as $bundle) { |
|
| 29 | 29 | commons_groups_field_definition_group($field_instances, 'node', $bundle); |
| 30 | 30 | } |
| 31 | 31 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.features.og_features_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.features.og_features_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_og_features_default_permissions(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.views_default.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.views_default.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_views_default_views(). |
@@ -1,8 +1,8 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.features.field_base.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.features.field_base.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_bases(). |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | ); |
| 146 | 146 | |
| 147 | 147 | // Exported field_base: 'og_group_ref' |
| 148 | - $field_bases['og_group_ref'] = array( |
|
| 148 | + $field_bases['og_group_ref'] = array( |
|
| 149 | 149 | 'active' => '1', |
| 150 | 150 | 'cardinality' => '-1', |
| 151 | 151 | 'deleted' => '0', |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.features.user_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.features.user_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_user_default_permissions(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_groups.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_groups.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_content_moderation.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_content_moderation.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_ctools_plugin_api(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_content_moderation.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_content_moderation.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Content Moderation feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Content Moderation feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_content_moderation.features.inc'; |
| 8 | 8 | |