function registration_field_info in Entity Registration 7
Same name and namespace in other branches
- 8.2 includes/registration.field.inc \registration_field_info()
- 8 includes/registration.field.inc \registration_field_info()
- 7.2 includes/registration.field.inc \registration_field_info()
Implements hook_field_info().
File
- includes/
registration.field.inc, line 11 - Field hooks.
Code
function registration_field_info() {
return array(
'registration' => array(
'label' => t('Registration'),
'description' => t('Enables registrations of a selected type for an entity.'),
'settings' => array(),
'instance_settings' => array(
'default_registration_settings' => array(
'status' => 0,
'capacity' => 0,
'scheduling' => array(
'open' => NULL,
'close' => NULL,
),
'reminder' => array(
'send_reminder' => 0,
'reminder_settings' => array(
'reminder_date' => NULL,
'reminder_template' => NULL,
),
),
'settings' => array(
'maximum_spaces' => 1,
'multiple_registrations' => -1,
'from_address' => variable_get('site_mail', ini_get('sendmail_from')),
),
),
),
'default_widget' => 'registration_select',
'default_formatter' => 'registration_default',
'no_ui' => FALSE,
),
);
}