Skip to content
Browse files

removed field_groups dependency from mzes_project feature

  • Loading branch information...
1 parent 12bd4f6 commit 5f48a32f1135a00a6c3a260c8da056d5b8daa9fd @dwabnitz dwabnitz committed Nov 22, 2011
View
15 mzes_project/mzes_project.features.inc
@@ -1,15 +0,0 @@
-<?php
-/**
- * @file
- * mzes_project.features.inc
- */
-
-/**
- * Implements hook_ctools_plugin_api().
- */
-function mzes_project_ctools_plugin_api() {
- list($module, $api) = func_get_args();
- if ($module == "field_group" && $api == "field_group") {
- return array("version" => "1");
- }
-}
View
100 mzes_project/mzes_project.field_group.inc
@@ -1,100 +0,0 @@
-<?php
-/**
- * @file
- * mzes_project.field_group.inc
- */
-
-/**
- * Implements hook_field_group_info().
- */
-function mzes_project_field_group_info() {
- $export = array();
-
- $field_group = new stdClass;
- $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
- $field_group->api_version = 1;
- $field_group->identifier = 'group_project_collaborators_prev|node|project|form';
- $field_group->group_name = 'group_project_collaborators_prev';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'project';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Previous Collaborators',
- 'weight' => '8',
- 'children' => array(
- 0 => 'field_project_directors_previous',
- 1 => 'field_project_researchers_prev',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_project_collaborators_prev|node|project|form'] = $field_group;
-
- $field_group = new stdClass;
- $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
- $field_group->api_version = 1;
- $field_group->identifier = 'group_project_mzes_admin|node|project|form';
- $field_group->group_name = 'group_project_mzes_admin';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'project';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'MZES Admin',
- 'weight' => '14',
- 'children' => array(
- 0 => 'field_project_mzes_datart',
- 1 => 'field_project_mzes_pro_num_altdb',
- 2 => 'field_project_mzes_recno',
- ),
- 'format_type' => 'fieldset',
- 'format_settings' => array(
- 'formatter' => 'collapsible',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_project_mzes_admin|node|project|form'] = $field_group;
-
- $field_group = new stdClass;
- $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
- $field_group->api_version = 1;
- $field_group->identifier = 'group_project_programs|node|project|form';
- $field_group->group_name = 'group_project_programs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'project';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Programs',
- 'weight' => '9',
- 'children' => array(
- 0 => 'field_project_program',
- 1 => 'field_project_program_prev',
- 2 => 'field_project_program_section',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_project_programs|node|project|form'] = $field_group;
-
- return $export;
-}
View
1 mzes_project/mzes_project.info
@@ -2,6 +2,7 @@ name = "MZES Project"
description = "An extension to AID Project adding custom MZES specific fields to content of type project."
core = "7.x"
package = "Features"
+php = "5.2.4"
version = "7.x-1.0-dev"
project = "mzes_project"
dependencies[] = "aid_project"

0 comments on commit 5f48a32

Please sign in to comment.
Something went wrong with that request. Please try again.