You are here

function node_fusion_apply_contextual_links in Fusion Accelerator 7.2

Same name and namespace in other branches
  1. 7 fusion_apply/modules/node.fusion.inc \node_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 'node_fusion_apply_contextual_links'
node_fusion_apply_config_info in fusion_apply/modules/node.fusion.inc
Implements hook_fusion_apply_config_info().

File

fusion_apply/modules/node.fusion.inc, line 125
Provide skins handling for node.module

Code

function node_fusion_apply_contextual_links(&$variables) {
  $links = array();
  $links['fusion_apply-node'] = array(
    'admin/appearance/fusion/edit/nojs',
    array(
      'node',
      $variables['node']->type,
    ),
  );
  return $links;
}