function purge_item_form in Purge 7.2
Menu callback for the purge item edit form.
1 string reference to 'purge_item_form'
- purge_menu in ./
purge_ui.module - Implements hook_menu().
File
- includes/
purge_ui.inc, line 125 - Provides administrative interface for the Purge module.
Code
function purge_item_form($form, &$form_state, $action = 'view', $item_type = NULL, $item_name = NULL) {
// Get the bundle.
$bundle = purge_get_bundle_ui($form, $form_state, $action, $item_type, $item_name);
// Get the form
$form = array();
$form = $bundle
->get_form();
return $form;
}