You are here

private function PurgePurgerBundleUI::get_form_edit_status in Purge 7.2

Generate the status form.

1 call to PurgePurgerBundleUI::get_form_edit_status()
PurgePurgerBundleUI::get_form_edit in includes/purge_ui.class.inc
Generates a form to edit an item.

File

includes/purge_ui.class.inc, line 283
Provides administrative interface for the Purge module.

Class

PurgePurgerBundleUI
Generates UI elements for the Purge UI module.

Code

private function get_form_edit_status() {
  $form = array();
  $form['enabled'] = array(
    '#type' => 'checkbox',
    '#title' => t('Enabled'),
    '#description' => t('Disabled items will ignored during operations, even when included in purgers.'),
    '#default_value' => $this->form_item->enabled,
  );
  return $form;
}