function makemeeting_simplepoll_elements in Make Meeting Scheduler 6
Implementation of hook_elements() - we have two custom poll element: the poll table and the admin interface of the poll table
File
- ./
makemeeting_simplepoll.module, line 39 - Make Meeting Simple Poll module
Code
function makemeeting_simplepoll_elements() {
$type = array();
$type['makemeeting_simplepoll_form'] = array(
'#input' => TRUE,
'#process' => array(
'makemeeting_simplepoll_form_process',
),
'#description' => '',
'#attributes' => array(
'answers' => array(),
),
);
$type['makemeeting_simplepoll_pollpanel'] = array(
'#input' => TRUE,
'#process' => array(
'makemeeting_simplepoll_pollpanel_process',
),
'#description' => '',
'#attributes' => array(
'answers' => array(),
'votes' => array(),
'multiple_allowed' => NULL,
'secure' => NULL,
),
);
return $type;
}