You are here

function spaces_contacts_menu in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_contacts/spaces_contacts.module \spaces_contacts_menu()

Implementation of hook_menu()

File

spaces_contacts/spaces_contacts.module, line 65

Code

function spaces_contacts_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'contacts',
      'title' => t('Contacts'),
      'description' => t('Provides a group-aware contact listing.'),
      'callback' => 'spaces_contacts_pageview',
      'access' => user_access('access content'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}