You are here

function elements_elements in Elements 5

Same name and namespace in other branches
  1. 6 elements.module \elements_elements()

Implements hook_elements().

File

./elements.module, line 6

Code

function elements_elements() {
  $types['tableselect'] = array(
    '#input' => TRUE,
    '#js_select' => TRUE,
    '#multiple' => TRUE,
    '#process' => array(
      'form_process_tableselect' => array(),
    ),
    '#options' => array(),
    '#empty' => '',
  );
  $types['imagebutton'] = array(
    '#input' => TRUE,
    '#button_type' => 'submit',
  );
  return $types;
}