You are here

function panels_elements in Panels 5.2

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

Custom form element to do our nice images.

File

./panels.module, line 250
panels.module Core API for Panels. Provides display editing and rendering capabilities.

Code

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