function date_restrictions_settings in Date Restrictions 7
Returns default settings, or completes a settings array with missing keys.
8 calls to date_restrictions_settings()
- date_restrictions_allowed_values_date_popup_process_alter in modules/
allowed_values/ date_restrictions_allowed_values.module - Implements hook_date_popup_process_alter().
- date_restrictions_allowed_values_date_restrictions_element_validate in modules/
allowed_values/ date_restrictions_allowed_values.date_restrictions.inc - Implements hook_date_restrictions_element_validate().
- date_restrictions_date_field_instance_settings_form_alter in ./
date_restrictions.module - Implements hook_date_field_instance_settings_form_alter().
- date_restrictions_field_info_alter in ./
date_restrictions.module - Implements hook_field_info_alter().
- date_restrictions_field_widget_form_alter in ./
date_restrictions.module - Implements hook_field_widget_form_alter().
File
- ./
date_restrictions.module, line 33
Code
function date_restrictions_settings($settings = null) {
$default = module_invoke_all('date_restrictions_settings');
if (is_null($settings)) {
return $default;
}
return array_replace_recursive($default, $settings);
}