function page_manager_page_enable

Callback to enable/disable the page from the UI.

1 string reference to 'page_manager_page_enable'
page_manager_page_build_subtask in page_manager/plugins/tasks/page.inc
Build a subtask array for a given page.

File

page_manager/plugins/tasks/page.inc, line 693

Code

function page_manager_page_enable(&$cache, $status) {
    $page =& $cache->subtask['subtask'];
    ctools_include('export');
    ctools_export_set_object_status($page, $status);
    $page->disabled = FALSE;
}