You are here

function linkit_menu_alter in Linkit 7.2

Same name and namespace in other branches
  1. 7.3 linkit.module \linkit_menu_alter()

Implements hook_menu_alter().

File

./linkit.module, line 61
Main file for linkit module.

Code

function linkit_menu_alter(&$items) {

  // Override the default titles that ctools export_ui sets.
  // This way there is less code compared to define this in the plugin array.
  $items['admin/config/content/linkit/add']['title'] = 'Add new profile';
  $items['admin/config/content/linkit/import']['title'] = 'Import profiles';

  // Make tabs
  $items['admin/config/content/linkit/add']['type'] = MENU_LOCAL_TASK;
  $items['admin/config/content/linkit/import']['type'] = MENU_LOCAL_TASK;
}