You are here

function birthdays_menu in Birthdays 7

Same name and namespace in other branches
  1. 5 birthdays.module \birthdays_menu()
  2. 6 birthdays.module \birthdays_menu()

Implements hook_menu().

File

./birthdays.module, line 111
The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an email on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_menu() {
  $items['admin/config/birthdays/lookup'] = array(
    'title' => 'Birthday formatting lookup',
    'page callback' => 'birthdays_lookup',
    'page arguments' => array(
      TRUE,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/birthdays/lookup-noyear'] = array(
    'title' => 'Birthday formatting lookup',
    'page callback' => 'birthdays_lookup',
    'page arguments' => array(
      FALSE,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}