You are here

constant BIRTHDAYS_HIDE_YEAR_USER in Birthdays 5

Same name and namespace in other branches
  1. 6 birthdays.module \BIRTHDAYS_HIDE_YEAR_USER
  2. 7 birthdays.module \BIRTHDAYS_HIDE_YEAR_USER

Hiding or showing the year of birth and age is up to the user. This goes for all pages generated by the Birthdays module.

4 uses of BIRTHDAYS_HIDE_YEAR_USER
birthdays_form_user in ./birthdays.module
Adds user options to the profile form which are saved in {users}.data and are loaded during a user_load().
birthdays_profile_alter in ./birthdays.module
Alter the way the birthday is shown. This is fired after every module has filled the profile.
_birthdays_show_age in ./birthdays.module
Return age if user has agreed to show it
_birthdays_show_date_2 in ./birthdays.module
Format date, optionally hide year

File

./birthdays.module, line 76
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

define('BIRTHDAYS_HIDE_YEAR_USER', '2');