function block_fusion_apply_contextual_links in Fusion Accelerator 7
Same name and namespace in other branches
- 7.2 fusion_apply/modules/block.fusion.inc \block_fusion_apply_contextual_links()
Fusion Apply contextual links handler.
Parameters
&$variables: Passes in the $variables parameter from fusion_apply_preprocess().
Return value
An array. Each value is an array that forms the function arguments for menu_contextual_links(). For example:
array(
'admin/appearance/fusion/edit', array('system', 'navigation')),
)
Related topics
1 string reference to 'block_fusion_apply_contextual_links'
- block_fusion_apply_config_info in fusion_apply/
modules/ block.fusion.inc - Implements hook_fusion_apply_config_info().
File
- fusion_apply/
modules/ block.fusion.inc, line 98 - Provide skins handling for block.module
Code
function block_fusion_apply_contextual_links(&$variables) {
$links = array();
$links['fusion_apply-block'] = array(
'admin/appearance/fusion/edit/nojs',
array(
'block',
$variables['block']->module . '__' . $variables['block']->delta,
),
);
return $links;
}