You are here

function oa_core_test_form in Open Atrium Core 7.2

Form callback for testing th oa_core system fields.

1 string reference to 'oa_core_test_form'
oa_core_element_test_page in includes/oa_core.fields.inc
Menu callback for testing th oa_core system fields.

File

includes/oa_core.fields.inc, line 310
Code for custom Form API fields in Open Atrium

Code

function oa_core_test_form() {
  $form = array();
  $form['test_element'] = array(
    '#type' => 'og_group_ref',
  );
  $form['test_element_2'] = array(
    '#og_group_ref' => 'test_element',
    '#type' => 'oa_section_ref',
  );
  return $form;
}