this is the cck type export for a fieldgroup_table that doesn't work...

  1. $content[type]  = array (
  2.   'name' => 'A Test',
  3.   'type' => 'a_test',
  4.   'description' => '',
  5.   'title_label' => 'Title',
  6.   'body_label' => 'Body',
  7.   'min_word_count' => '0',
  8.   'help' => '',
  9.   'node_options' =>
  10.   array (
  11.     'status' => true,
  12.     'promote' => true,
  13.     'sticky' => false,
  14.     'revision' => false,
  15.   ),
  16.   'comment' => '2',
  17.   'old_type' => 'a_test',
  18.   'orig_type' => '',
  19.   'module' => 'node',
  20.   'custom' => '1',
  21.   'modified' => '1',
  22.   'locked' => '0',
  23. );
  24. $content[groups]  = array (
  25.   0 =>
  26.   array (
  27.     'label' => 'Group',
  28.     'settings' =>
  29.     array (
  30.       'form' =>
  31.       array (
  32.         'style' => 'fieldset',
  33.         'description' => '',
  34.       ),
  35.       'display' =>
  36.       array (
  37.         'description' => '',
  38.         'teaser' => NULL,
  39.         'full' => NULL,
  40.         'label' => NULL,
  41.       ),
  42.       'multiple' => 1,
  43.     ),
  44.     'weight' => '-4',
  45.     'group_name' => 'group_group',
  46.   ),
  47. );
  48. $content[fields]  = array (
  49.   0 =>
  50.   array (
  51.     'widget_type' => 'text',
  52.     'label' => 'test_1',
  53.     'weight' => '-3',
  54.     'rows' => '1',
  55.     'description' => '',
  56.     'default_value_widget' =>
  57.     array (
  58.       'field_test_1' =>
  59.       array (
  60.         0 =>
  61.         array (
  62.           'value' => '',
  63.         ),
  64.         1 =>
  65.         array (
  66.           'value' => '',
  67.         ),
  68.         2 =>
  69.         array (
  70.           'value' => '',
  71.         ),
  72.       ),
  73.     ),
  74.     'default_value_php' => '',
  75.     'group' => 'group_group',
  76.     'required' => '0',
  77.     'multiple' => '1',
  78.     'text_processing' => '0',
  79.     'max_length' => '',
  80.     'allowed_values' => '',
  81.     'allowed_values_php' => '',
  82.     'field_name' => 'field_test_1',
  83.     'field_type' => 'text',
  84.     'module' => 'text',
  85.     'default_value' =>
  86.     array (
  87.       0 =>
  88.       array (
  89.         'value' => '',
  90.       ),
  91.     ),
  92.   ),
  93.   1 =>
  94.   array (
  95.     'widget_type' => 'text',
  96.     'label' => 'test_2',
  97.     'weight' => '-2',
  98.     'rows' => '1',
  99.     'description' => '',
  100.     'default_value_widget' =>
  101.     array (
  102.       'field_test_2' =>
  103.       array (
  104.         0 =>
  105.         array (
  106.           'value' => '',
  107.         ),
  108.         1 =>
  109.         array (
  110.           'value' => '',
  111.         ),
  112.         2 =>
  113.         array (
  114.           'value' => '',
  115.         ),
  116.       ),
  117.     ),
  118.     'default_value_php' => '',
  119.     'group' => 'group_group',
  120.     'required' => '0',
  121.     'multiple' => '1',
  122.     'text_processing' => '0',
  123.     'max_length' => '',
  124.     'allowed_values' => '',
  125.     'allowed_values_php' => '',
  126.     'field_name' => 'field_test_2',
  127.     'field_type' => 'text',
  128.     'module' => 'text',
  129.   ),
  130. );