function panels_mini_edit in Panels 5.2
Same name and namespace in other branches
- 6.2 panels_mini/panels_mini.admin.inc \panels_mini_edit()
Edit a mini panel.
Called from both the add and edit points to provide for common flow.
1 call to panels_mini_edit()
- panels_mini_add_page in panels_mini/
panels_mini.module - Handle the add mini panel page.
1 string reference to 'panels_mini_edit'
- panels_mini_menu_items in panels_mini/
panels_mini.module
File
- panels_mini/
panels_mini.module, line 448 - panels_mini.module
Code
function panels_mini_edit($panel_mini) {
if (!is_object($panel_mini)) {
$panel_mini = panels_mini_load($panel_mini);
}
drupal_set_title(check_plain($panel_mini->title));
return drupal_get_form('panels_mini_edit_form', $panel_mini);
}