function page_manager_user_edit_enable
Callback to enable/disable the page from the UI.
1 string reference to 'page_manager_user_edit_enable'
- page_manager_user_edit_page_manager_tasks in page_manager/
plugins/ tasks/ user_edit.inc - @file Overrides the user profile display at user/%user.
File
-
page_manager/
plugins/ tasks/ user_edit.inc, line 162
Code
function page_manager_user_edit_enable($cache, $status) {
variable_set('page_manager_user_edit_disabled', $status);
// Set a global flag so that the menu routine knows it needs
// to set a message if enabling cannot be done.
if (!$status) {
$GLOBALS['page_manager_enabling_user_edit'] = TRUE;
}
}