Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Date Restrictions 7 » date_restrictions.module

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().

... See full list

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);
}

API Navigation

  • Date Restrictions 7
  • Topics
  • Classes
  • Functions
  • Files
  • Constants

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.