function hook_context_allow_ajax_block_access in Context 7.3
Same name and namespace in other branches
- 6.3 context.api.php \hook_context_allow_ajax_block_access()
Allows for finer grained access mechanisms to using the json rendering capabilities of the block reaction when a user isn't granted the administer contexts or context ajax block access permission
Parameters
$block_id: ID of block in module-delta format
1 invocation of hook_context_allow_ajax_block_access()
- context_reaction_block::context_block_ajax_rendering_allowed in plugins/
context_reaction_block.inc - Allow modules to selectively allow ajax rendering of a specific block
File
- ./
context.api.php, line 140 - Hooks provided by Context.
Code
function hook_context_allow_ajax_block_access($block_id) {
}