You are here

function custom_formatters_menu_contextual_links_alter in Custom Formatters 7.2

Implements hook_menu_contextual_links_alter().

File

includes/contextual.inc, line 103
Contextual links module integration.

Code

function custom_formatters_menu_contextual_links_alter(&$links, $router_item, $root_path) {
  if ($root_path == 'admin/structure/formatters/list/%/edit') {
    $links['custom_formatters-edit'] = array_merge($router_item, array(
      'title' => 'Edit formatter',
    ));
  }
}