You are here

function panels_mini_ui::edit_form in Panels 6.3

Same name and namespace in other branches
  1. 7.3 panels_mini/plugins/export_ui/panels_mini_ui.class.php \panels_mini_ui::edit_form()

Provide the actual editing form.

Overrides ctools_export_ui::edit_form

File

panels_mini/plugins/export_ui/panels_mini_ui.class.php, line 115

Class

panels_mini_ui

Code

function edit_form(&$form, &$form_state) {

  // Get the basic edit form
  parent::edit_form($form, $form_state);
  $form['category'] = array(
    '#type' => 'textfield',
    '#size' => 24,
    '#default_value' => $form_state['item']->category,
    '#title' => t('Category'),
    '#description' => t("The category that this mini-panel will be grouped into on the Add Content form. Only upper and lower-case alphanumeric characters are allowed. If left blank, defaults to 'Mini panels'."),
  );
  $form['title']['#title'] = t('Title');
  $form['title']['#description'] = t('The title for this mini panel. It can be overridden in the block configuration.');
}