You are here

protected property FormBuilderWebformFormTest::$components in Form Builder 7

File

modules/webform/tests/FormBuilderWebformFormTest.php, line 4

Class

FormBuilderWebformFormTest

Code

protected $components = array(
  1 => array(
    'nid' => 1,
    'cid' => '1',
    'pid' => '0',
    'form_key' => 'fieldset1',
    'name' => 'fieldset1',
    'type' => 'fieldset',
    'value' => '',
    'extra' => array(
      'title_display' => 0,
      'private' => 0,
      'collapsible' => 0,
      'collapsed' => 0,
      'conditional_operator' => '=',
      'description' => '',
      'conditional_component' => '',
      'conditional_values' => '',
    ),
    'mandatory' => '0',
    'weight' => '0',
    'page_num' => 1,
  ),
  3 => array(
    'nid' => 1,
    'cid' => '3',
    'pid' => '1',
    'form_key' => 'hour',
    'name' => 'hour',
    'type' => 'time',
    'value' => '',
    'extra' => array(
      'timezone' => 'user',
      'title_display' => 'before',
      'private' => 0,
      'hourformat' => '12-hour',
      'minuteincrements' => '1',
      'conditional_operator' => '=',
      'description' => '',
      'conditional_component' => '',
      'conditional_values' => '',
    ),
    'mandatory' => '0',
    'weight' => '2',
    'page_num' => 1,
  ),
  2 => array(
    'nid' => 1,
    'cid' => '2',
    'pid' => '0',
    'form_key' => 'textfield1',
    'name' => 'textfield1',
    'type' => 'textfield',
    'value' => 'textfield1',
    'extra' => array(
      'title_display' => 'before',
      'private' => 0,
      'disabled' => 1,
      'unique' => 0,
      'conditional_operator' => '=',
      'width' => '4',
      'maxlength' => '',
      'field_prefix' => 'testprefix',
      'field_suffix' => 'testpostfix',
      'description' => '',
      'attributes' => array(),
      'conditional_component' => '',
      'conditional_values' => '',
    ),
    'mandatory' => '0',
    'weight' => '1',
    'page_num' => 1,
  ),
);