function comment_fusion_apply_contextual_links in Fusion Accelerator 7
Same name and namespace in other branches
- 7.2 fusion_apply/modules/comment.fusion.inc \comment_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 'comment_fusion_apply_contextual_links'
- comment_fusion_apply_config_info in fusion_apply/
modules/ comment.fusion.inc - Implements hook_fusion_apply_config_info().
File
- fusion_apply/
modules/ comment.fusion.inc, line 127 - Provide skins handling for comment.module
Code
function comment_fusion_apply_contextual_links(&$variables) {
$links = array();
$links['fusion_apply-comment'] = array(
'admin/appearance/fusion/edit/nojs',
array(
'comment',
$variables['node']->type,
),
);
return $links;
}