You are here

function hook_date_restrictions_settings in Date Restrictions 7

Default settings.

Related topics

2 functions implement hook_date_restrictions_settings()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

date_restrictions_allowed_values_date_restrictions_settings in modules/allowed_values/date_restrictions_allowed_values.date_restrictions.inc
Implements hook_date_restrictions_settings().
date_restrictions_minmax_date_restrictions_settings in modules/minmax/date_restrictions_minmax.date_restrictions.inc
Implements hook_date_restrictions_settings().
1 invocation of hook_date_restrictions_settings()
date_restrictions_settings in ./date_restrictions.module
Returns default settings, or completes a settings array with missing keys.

File

./date_restrictions.api.php, line 16
Hooks provided by the Date Restrictions module.

Code

function hook_date_restrictions_settings() {
  $settings['myrestrictions'] = array(
    'date_min' => array(
      'interval' => null,
      'period' => null,
    ),
  );
  return $settings;
}