function page_manager_page_ctools_access_set

Callback for access control ajax form on behalf of page.inc task.

Writes the changed access to the cache.

File

page_manager/page_manager.module, line 1065

Code

function page_manager_page_ctools_access_set($argument, $access) {
    $page = page_manager_get_page_cache($argument);
    $page->subtask['subtask']->access = $access;
    page_manager_set_page_cache($page);
}