function panels_mini_edit_context in Panels 5.2
Same name and namespace in other branches
- 6.2 panels_mini/panels_mini.admin.inc \panels_mini_edit_context()
Form to edit context features of a mini panel.
1 string reference to 'panels_mini_edit_context'
- panels_mini_menu_items in panels_mini/
panels_mini.module
File
- panels_mini/
panels_mini.module, line 620 - panels_mini.module
Code
function panels_mini_edit_context($panel_mini, $next = NULL) {
if (!empty($_POST)) {
$panel_mini = panels_common_cache_get('panel_object:panel_mini', $panel_mini->name);
}
else {
panels_common_cache_set('panel_object:panel_mini', $panel_mini->name, $panel_mini);
}
drupal_set_title(check_plain($panel_mini->title));
return drupal_get_form('panels_mini_context_form', $panel_mini, $next);
}