You are here

function panels_elements in Panels 5

Same name and namespace in other branches
  1. 5.2 panels.module \panels_elements()

Custom form element to do our nice images.

File

./panels.module, line 146

Code

function panels_elements() {
  $type['panels_imagebutton'] = array(
    '#input' => TRUE,
    '#button_type' => 'submit',
  );
  return $type;
}