Projet

Général

Profil

Paste
Télécharger (1,45 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / date / date_all_day / tests / date_all_day_test_feature / date_all_day_test_feature.features.field_base.inc @ 599a39cd

1
<?php
2

    
3
/**
4
 * @file
5
 * date_all_day_test_feature.features.field_base.inc
6
 */
7

    
8
/**
9
 * Implements hook_field_default_field_bases().
10
 */
11
function date_all_day_test_feature_field_default_field_bases() {
12
  $field_bases = array();
13

    
14
  // Exported field_base: 'body'.
15
  $field_bases['body'] = array(
16
    'active' => 1,
17
    'cardinality' => 1,
18
    'deleted' => 0,
19
    'entity_types' => array(
20
      0 => 'node',
21
    ),
22
    'field_name' => 'body',
23
    'indexes' => array(
24
      'format' => array(
25
        0 => 'format',
26
      ),
27
    ),
28
    'locked' => 0,
29
    'module' => 'text',
30
    'settings' => array(),
31
    'translatable' => 1,
32
    'type' => 'text_with_summary',
33
  );
34

    
35
  // Exported field_base: 'field_date_all_day'.
36
  $field_bases['field_date_all_day'] = array(
37
    'active' => 1,
38
    'cardinality' => 1,
39
    'deleted' => 0,
40
    'entity_types' => array(),
41
    'field_name' => 'field_date_all_day',
42
    'indexes' => array(
43
      'value' => array(
44
        0 => 'value',
45
      ),
46
    ),
47
    'locked' => 0,
48
    'module' => 'date',
49
    'settings' => array(
50
      'cache_count' => 4,
51
      'cache_enabled' => 0,
52
      'granularity' => array(
53
        'day' => 'day',
54
        'hour' => 'hour',
55
        'minute' => 'minute',
56
        'month' => 'month',
57
        'second' => 0,
58
        'year' => 'year',
59
      ),
60
      'repeat' => 0,
61
      'timezone_db' => '',
62
      'todate' => '',
63
      'tz_handling' => 'none',
64
    ),
65
    'translatable' => 0,
66
    'type' => 'datetime',
67
  );
68

    
69
  return $field_bases;
70
}