You are here

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

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

Defines testable settings for the rules_forms_form_info variable.

File

./rules_forms.test, line 173
Rules Forms Support tests.

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,
  ),
);