[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/features/tests/ -> features_test.features.content.inc (source)

   1  <?php
   2  
   3  /**
   4   * Implementation of hook_content_default_fields().
   5   */
   6  function features_test_content_default_fields() {
   7    $fields = array();
   8  
   9    // Exported field: field_features_test
  10    $fields['features_test-field_features_test'] = array(
  11      'field_name' => 'field_features_test',
  12      'type_name' => 'features_test',
  13      'display_settings' => array(
  14        'label' => array(
  15          'format' => 'above',
  16          'exclude' => 0,
  17        ),
  18        'teaser' => array(
  19          'format' => 'default',
  20          'exclude' => 0,
  21        ),
  22        'full' => array(
  23          'format' => 'default',
  24          'exclude' => 0,
  25        ),
  26        '4' => array(
  27          'format' => 'default',
  28          'exclude' => 0,
  29        ),
  30      ),
  31      'widget_active' => '1',
  32      'type' => 'text',
  33      'required' => '0',
  34      'multiple' => '0',
  35      'module' => 'text',
  36      'active' => '1',
  37      'text_processing' => '0',
  38      'max_length' => '',
  39      'allowed_values' => '',
  40      'allowed_values_php' => '',
  41      'widget' => array(
  42        'rows' => 5,
  43        'size' => '60',
  44        'default_value' => array(
  45          '0' => array(
  46            'value' => '',
  47            '_error_element' => 'default_value_widget][field_features_test][0][value',
  48          ),
  49        ),
  50        'default_value_php' => NULL,
  51        'label' => 'Test',
  52        'weight' => '21',
  53        'description' => '',
  54        'type' => 'text_textfield',
  55        'module' => 'text',
  56      ),
  57    );
  58  
  59    // Exported field: field_features_test_child_a
  60    $fields['features_test-field_features_test_child_a'] = array(
  61      'field_name' => 'field_features_test_child_a',
  62      'type_name' => 'features_test',
  63      'display_settings' => array(
  64        'label' => array(
  65          'format' => 'above',
  66          'exclude' => 0,
  67        ),
  68        '5' => array(
  69          'format' => 'default',
  70          'exclude' => 0,
  71        ),
  72        'teaser' => array(
  73          'format' => 'default',
  74          'exclude' => 0,
  75        ),
  76        'full' => array(
  77          'format' => 'default',
  78          'exclude' => 0,
  79        ),
  80        '4' => array(
  81          'format' => 'default',
  82          'exclude' => 0,
  83        ),
  84        '2' => array(
  85          'format' => 'default',
  86          'exclude' => 0,
  87        ),
  88        '3' => array(
  89          'format' => 'default',
  90          'exclude' => 0,
  91        ),
  92        'token' => array(
  93          'format' => 'default',
  94          'exclude' => 0,
  95        ),
  96      ),
  97      'widget_active' => '1',
  98      'type' => 'text',
  99      'required' => '0',
 100      'multiple' => '0',
 101      'module' => 'text',
 102      'active' => '1',
 103      'text_processing' => '0',
 104      'max_length' => '',
 105      'allowed_values' => '',
 106      'allowed_values_php' => '',
 107      'widget' => array(
 108        'rows' => 5,
 109        'size' => '60',
 110        'default_value' => array(
 111          '0' => array(
 112            'value' => '',
 113            '_error_element' => 'default_value_widget][field_features_test_child_a][0][value',
 114          ),
 115        ),
 116        'default_value_php' => NULL,
 117        'label' => 'Test childfield',
 118        'weight' => '31',
 119        'description' => '',
 120        'type' => 'text_textfield',
 121        'module' => 'text',
 122      ),
 123    );
 124  
 125    // Exported field: field_features_test_child_b
 126    $fields['features_test-field_features_test_child_b'] = array(
 127      'field_name' => 'field_features_test_child_b',
 128      'type_name' => 'features_test',
 129      'display_settings' => array(
 130        'label' => array(
 131          'format' => 'above',
 132          'exclude' => 0,
 133        ),
 134        '5' => array(
 135          'format' => 'default',
 136          'exclude' => 0,
 137        ),
 138        'teaser' => array(
 139          'format' => 'default',
 140          'exclude' => 0,
 141        ),
 142        'full' => array(
 143          'format' => 'default',
 144          'exclude' => 0,
 145        ),
 146        '4' => array(
 147          'format' => 'default',
 148          'exclude' => 0,
 149        ),
 150        '2' => array(
 151          'format' => 'default',
 152          'exclude' => 0,
 153        ),
 154        '3' => array(
 155          'format' => 'default',
 156          'exclude' => 0,
 157        ),
 158        'token' => array(
 159          'format' => 'default',
 160          'exclude' => 0,
 161        ),
 162      ),
 163      'widget_active' => '1',
 164      'type' => 'text',
 165      'required' => '0',
 166      'multiple' => '0',
 167      'module' => 'text',
 168      'active' => '1',
 169      'text_processing' => '0',
 170      'max_length' => '',
 171      'allowed_values' => '',
 172      'allowed_values_php' => '',
 173      'widget' => array(
 174        'rows' => 5,
 175        'size' => '60',
 176        'default_value' => array(
 177          '0' => array(
 178            'value' => '',
 179            '_error_element' => 'default_value_widget][field_features_test_child_b][0][value',
 180          ),
 181        ),
 182        'default_value_php' => NULL,
 183        'label' => 'Test childfield',
 184        'weight' => '32',
 185        'description' => '',
 186        'type' => 'text_textfield',
 187        'module' => 'text',
 188      ),
 189    );
 190  
 191    // Translatables
 192    array(
 193      t('Test'),
 194      t('Test childfield'),
 195    );
 196  
 197    return $fields;
 198  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7