You are here

function birthdays_theme in Birthdays 6

Same name and namespace in other branches
  1. 7 birthdays.module \birthdays_theme()

Implementation of hook_theme().

File

./birthdays.module, line 226
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 e-mail on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_theme() {
  return array(
    'birthdays_block' => array(
      'arguments' => array(
        'uids' => array(),
        'amount' => 0,
        'block_type' => NULL,
      ),
      'template' => 'birthdays-block',
    ),
    'birthdays_page' => array(
      'arguments' => array(
        'accounts' => array(),
        'filter_month' => NULL,
        'filter_year' => NULL,
      ),
      'file' => 'birthdays.page.inc',
      'template' => 'birthdays-page',
    ),
  );
}