You are here

function semantic_panels_style_ui::edit_form in Semantic Panels 7.2

Provide the actual editing form.

Overrides ctools_export_ui::edit_form

File

plugins/export_ui/semantic_panels_style_ui.class.php, line 65

Class

semantic_panels_style_ui
Base class for export 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' => isset($form_state['item']->category) ? $form_state['item']->category : '',
    '#title' => t('Category'),
    '#description' => t("The category that this style will be grouped into."),
  );
  ctools_include('semantic_panels', 'semantic_panels', 'plugins/styles');
  $form += semantic_panels_pane_settings_form_style($form_state['item']);
}