You are here

function makemeeting_elements in Make Meeting Scheduler 6

Implements hook_elements().

Custom form elements: calendarselector and pollpanel

File

./makemeeting.module, line 122
Make Meeting module

Code

function makemeeting_elements() {
  $type = array();
  $type['makemeeting_calendarselector'] = array(
    '#input' => TRUE,
    '#process' => array(
      'makemeeting_calendarselector_process',
    ),
    '#description' => '',
    '#attributes' => array(
      'selected_dates_and_options' => array(),
    ),
  );
  $type['makemeeting_pollpanel'] = array(
    '#input' => TRUE,
    '#process' => array(
      'makemeeting_pollpanel_process',
    ),
    '#description' => '',
    '#attributes' => array(
      'dates_and_options' => array(),
      'answers' => NULL,
      'multiple_allowed' => NULL,
      'maybe_option' => NULL,
      'secure' => NULL,
    ),
  );
  return $type;
}