function ctools_get_access_plugin
Fetch metadata on a specific access control plugin.
Parameters
$name: Name of a plugin.
Return value
array An array with information about the requested access control plugin.
7 calls to ctools_get_access_plugin()
- ctools_access in includes/
context.inc - Determine if the current user has access via a plugin.
- ctools_access_add_restrictions in includes/
context.inc - Apply restrictions to contexts based upon the access control configured.
- ctools_access_admin_render_table in includes/
context-access-admin.inc - Render the table. This is used both to render it initially and to rerender it upon ajax response.
- ctools_access_ajax_add in includes/
context-access-admin.inc - AJAX callback to add a new access test to the list.
- ctools_access_ajax_edit in includes/
context-access-admin.inc - AJAX callback to edit an access test in the list.
File
-
includes/
context.inc, line 1822
Code
function ctools_get_access_plugin($name) {
ctools_include('plugins');
return ctools_get_plugins('ctools', 'access', $name);
}