You are here

function birthdays_sync_birthdays_to_profiles in Birthdays 6

Birthdays to Profile submit handler.

2 string references to 'birthdays_sync_birthdays_to_profiles'
birthdays_sync_form in ./birthdays.admin.inc
Implementation of hook_form().
birthdays_sync_form in ./birthdays.sync.inc
Creates the synchronization form.

File

./birthdays.sync.inc, line 68
Because the Birthdays module uses 2 tables for the birthdays, they have to be kept in sync with each other. Normally that will be no problem, but in some cases there is the need to manually synchronize the two tables. These cases are for example:

Code

function birthdays_sync_birthdays_to_profiles($form, &$form_state) {
  birthdays_set_batch(t('Copy Birthdays data to Profile module.'), 'batch_birthdays_sync_b2p');
}