You are here

function makemeeting_element_info in Make Meeting Scheduler 7

hook_elements implementation

Custom form elements: calendarselector and pollpanel

File

./makemeeting.module, line 220
Make Meeting module

Code

function makemeeting_element_info() {
  $types['makemeeting_choices'] = array(
    '#input' => TRUE,
    '#process' => array(
      '_makemeeting_choices_process',
    ),
    '#attributes' => array(
      'dates_and_options' => array(),
      'answers' => NULL,
      'multiple_allowed' => NULL,
      'maybe_option' => NULL,
      'secure' => NULL,
    ),
    '#theme' => 'makemeeting_choices',
    '#value_callback' => 'form_type_makemeeting_choices_value',
  );
  $types['makemeeting_calendarselector'] = array(
    '#input' => TRUE,
    '#process' => array(
      '_makemeeting_calendarselector_process',
    ),
    '#attributes' => array(
      'selected_dates_and_options' => array(),
    ),
    '#theme' => 'makemeeting_calendarselector',
    '#value_callback' => 'form_type_makemeeting_calendarselector_value',
  );
  return $types;
}