You are here

function panels_set_blank in Panels 5

Set a button to a blank image -- used for placeholders when buttons are not relevant but just removing it would be visually unappealing.

1 call to panels_set_blank()
theme_panels_edit_form in ./panels.module
Display the form to edit a panels.

File

./panels.module, line 180

Code

function panels_set_blank(&$form) {
  $form['#type'] = 'markup';
  $form['#value'] = theme('image', drupal_get_path('module', 'panels') . '/images/blank.gif');
}