You are here

protected static property RulesFormsRulesTestCase::$formInfo in Rules Forms Support 7

Same name and namespace in other branches
  1. 7.2 rules_forms.test \RulesFormsRulesTestCase::formInfo

Defines testable settings for the rules_forms_form_info variable.

Type: array

File

./rules_forms.test, line 186
Stores tests related to Rules Form.

Class

RulesFormsRulesTestCase
Base class for testing Rules Forms rules.

Code

protected static $formInfo = array(
  'test_form' => array(
    'label' => 'Test form',
    'elements' => array(
      'textfield:title' => array(
        'type' => 'textfield',
        'label' => 'Title',
      ),
      'textarea:body:und:0:value' => array(
        'type' => 'textarea',
        'label' => 'Body',
      ),
      'select:fieldset:select' => array(
        'type' => 'select',
        'label' => 'Select',
      ),
      'checkboxes:fieldset:checkboxes' => array(
        'type' => 'checkboxes',
        'label' => 'Checkboxes',
      ),
    ),
    'path' => 'node/add/article',
    'buttons' => FALSE,
    'validate' => array(),
    'submit' => array(),
    'reset' => FALSE,
  ),
);