You are here

function link_menu in Link 5

Same name and namespace in other branches
  1. 7 link.module \link_menu()

Implementation of hook_menu().

File

./link.module, line 33
Defines simple link field types.

Code

function link_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'link/widget/js',
      'callback' => 'link_widget_js',
      'access' => user_access('access content'),
      'type' => MENU_CALLBACK,
    );
  }
  return $items;
}