You are here

function _form_builder_webform_form_builder_map_grid in Form Builder 7

Same name and namespace in other branches
  1. 6 modules/webform/form_builder_webform.components.inc \_form_builder_webform_form_builder_map_grid()
  2. 7.2 modules/webform/form_builder_webform.components.inc \_form_builder_webform_form_builder_map_grid()

Implements _form_builder_webform_form_builder_map_component().

Related topics

File

modules/webform/form_builder_webform.components.inc, line 289
Default webform component callbacks for functionality related to the Form Builder.

Code

function _form_builder_webform_form_builder_map_grid() {
  return array(
    'form_builder_type' => 'grid',
    'properties' => array(
      'custom_grid_option_keys' => array(
        'storage_parents' => array(
          'extra',
          'custom_option_keys',
        ),
      ),
      'custom_grid_question_keys' => array(
        'storage_parents' => array(
          'extra',
          'custom_question_keys',
        ),
      ),
      'grid_options' => array(
        'storage_parents' => array(
          'extra',
          'options',
        ),
      ),
      'grid_questions' => array(
        'storage_parents' => array(
          'extra',
          'questions',
        ),
      ),
      'optrand' => array(
        'form_parents' => array(
          'display',
          'optrand',
        ),
        'storage_parents' => array(
          'extra',
          'optrand',
        ),
      ),
      'qrand' => array(
        'form_parents' => array(
          'display',
          'qrand',
        ),
        'storage_parents' => array(
          'extra',
          'qrand',
        ),
      ),
      'unique' => array(
        'storage_parents' => array(
          'extra',
          'unique',
        ),
      ),
    ),
  );
}