private function PurgePurgerBundleUI::get_form_view in Purge 7.2
Generates a form to view an item.
1 call to PurgePurgerBundleUI::get_form_view()
- PurgePurgerBundleUI::get_form in includes/
purge_ui.class.inc - Generates a form form the current form settings.
File
- includes/
purge_ui.class.inc, line 188 - Provides administrative interface for the Purge module.
Class
- PurgePurgerBundleUI
- Generates UI elements for the Purge UI module.
Code
private function get_form_view() {
$form = array();
// First get the form with basic information up.
$form['purge_basic'] = $this
->get_form_view_basic();
// Get the status form field.
$form['purge_status'] = $this
->get_form_view_status();
// Get the item specific form field.
$form_name = 'purge_' . $this->item_type;
$form[$form_name] = $this->get_form_view_[$this->item_type];
// Get the buttons.
$form['purge_action'] = $this
->get_form_action();
return $form;
}