function pollim_form_wrapper in Poll Improved 7
Form callback wrapper: create or edit a pollim.
Parameters
$pollim: The pollim object being edited by this form.
See also
1 string reference to 'pollim_form_wrapper'
- PollimUIController::hook_menu in ./
pollim.admin.inc - Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.
File
- ./
pollim.admin.inc, line 139 - Pollim editing UI.
Code
function pollim_form_wrapper($pollim) {
// Add the breadcrumb for the form's location.
pollim_set_breadcrumb();
return drupal_get_form('pollim_edit_form', $pollim);
}