Projet

Général

Profil

Paste
Télécharger (3,24 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / webform_validation / modules / webform_validation_testing / webform_validation_testing.features.uuid_node.inc @ 65389548

1
<?php
2

    
3
/**
4
 * @file
5
 * webform_validation_testing.features.uuid_node.inc
6
 */
7

    
8
/**
9
 * Implements hook_uuid_features_default_content().
10
 */
11
function webform_validation_testing_uuid_features_default_content() {
12
  $nodes = array();
13

    
14
  $nodes[] = array(
15
    'title' => 'webform_validation uuid_features test',
16
    'log' => '',
17
    'status' => 1,
18
    'comment' => 0,
19
    'promote' => 1,
20
    'sticky' => 0,
21
    'type' => 'webform',
22
    'language' => 'und',
23
    'created' => 1504429473,
24
    'tnid' => 0,
25
    'translate' => 0,
26
    'uuid' => '4ca52408-9bbd-49fa-baae-698c37dc5f42',
27
    'webform' => array(
28
      'nid' => 1,
29
      'next_serial' => 1,
30
      'confirmation' => '',
31
      'confirmation_format' => NULL,
32
      'redirect_url' => '<confirmation>',
33
      'status' => 1,
34
      'block' => 0,
35
      'allow_draft' => 0,
36
      'auto_save' => 0,
37
      'submit_notice' => 1,
38
      'confidential' => 0,
39
      'submit_text' => '',
40
      'submit_limit' => -1,
41
      'submit_interval' => -1,
42
      'total_submit_limit' => -1,
43
      'total_submit_interval' => -1,
44
      'progressbar_bar' => 1,
45
      'progressbar_page_number' => 0,
46
      'progressbar_percent' => 0,
47
      'progressbar_pagebreak_labels' => 1,
48
      'progressbar_include_confirmation' => 1,
49
      'progressbar_label_first' => 'Start',
50
      'progressbar_label_confirmation' => 'Complete',
51
      'preview' => 0,
52
      'preview_next_button_label' => '',
53
      'preview_prev_button_label' => '',
54
      'preview_title' => '',
55
      'preview_message' => '',
56
      'preview_message_format' => NULL,
57
      'preview_excluded_components' => array(),
58
      'record_exists' => TRUE,
59
      'roles' => array(
60
        0 => 1,
61
        1 => 2,
62
      ),
63
      'emails' => array(),
64
      'components' => array(
65
        1 => array(
66
          'nid' => 1,
67
          'cid' => 1,
68
          'pid' => 0,
69
          'form_key' => 'answer',
70
          'name' => 'What’s the answer to the ultimate question?',
71
          'type' => 'number',
72
          'value' => '',
73
          'extra' => array(
74
            'title_display' => 'before',
75
            'description_above' => 0,
76
            'private' => 0,
77
            'wrapper_classes' => '',
78
            'css_classes' => '',
79
            'integer' => 1,
80
            'type' => 'textfield',
81
            'field_prefix' => '',
82
            'field_suffix' => '',
83
            'disabled' => 0,
84
            'unique' => 0,
85
            'description' => '',
86
            'attributes' => array(),
87
            'analysis' => FALSE,
88
            'min' => '',
89
            'max' => '',
90
            'step' => '',
91
            'decimals' => '',
92
            'point' => '.',
93
            'separator' => ',',
94
            'excludezero' => 0,
95
          ),
96
          'required' => 1,
97
          'weight' => 0,
98
          'page_num' => 1,
99
        ),
100
      ),
101
      'conditionals' => array(),
102
      'validation' => array(
103
        'answer_42' => array(
104
          'rulename' => 'answer_42',
105
          'validator' => 'specific_value',
106
          'data' => 42,
107
          'error_message' => 'That’s the wrong answer.',
108
          'negate' => FALSE,
109
          'weight' => 0,
110
          'components' => array(
111
            1 => 1,
112
          ),
113
        ),
114
      ),
115
    ),
116
    'date' => '2017-09-03 09:04:33 +0000',
117
    'user_uuid' => '155c7ec5-8f9d-4934-888d-6951b7ac0728',
118
  );
119
  return $nodes;
120
}