You are here

function clientside_validation_settings_load_defaults in Clientside Validation 7

Same name and namespace in other branches
  1. 7.2 clientside_validation.module \clientside_validation_settings_load_defaults()
3 calls to clientside_validation_settings_load_defaults()
clientside_validation_settings_form in ./clientside_validation.admin.inc
clientside_validation_settings_load in ./clientside_validation.module
clientside_validation_update_7103 in ./clientside_validation.install
Add captcha setting.

File

./clientside_validation.module, line 1524
Add client side validation to forms.

Code

function clientside_validation_settings_load_defaults() {
  static $defaults = FALSE;
  if (!$defaults) {
    $defaults = clientside_validation_settings_load('default');
  }
  return $defaults;
}