You are here

function basicevent_menu in Event 5

Implementation of hook_menu().

File

contrib/basicevent.module, line 49
An extremly simple module to implement the event API.

Code

function basicevent_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'node/add/event',
      'title' => t('Event'),
      'access' => user_access('create events'),
    );
  }
  return $items;
}