function path_breadcrumbs_ctools_access_set in Path Breadcrumbs 7.2
Same name and namespace in other branches
- 7.3 path_breadcrumbs_ui/path_breadcrumbs_ui.module \path_breadcrumbs_ctools_access_set()
Callback for access control ajax form on behalf of context task handler (third step). Saves the changed access to the cache.
Parameters
$path_name: Machine name of breadcrumb.
$access: Array with user-defines selection rules.
File
- path_breadcrumbs_ui/
path_breadcrumbs_ui.module, line 607 - Provide user interface for CRUD operations with path breadcrumbs.
Code
function path_breadcrumbs_ctools_access_set($path_name, $access) {
$data = path_breadcrumbs_object_cache_get($path_name);
$data->access = $access;
path_breadcrumbs_object_cache_set($path_name, $data);
}