You are here

function clientside_validation_settings_current_form in Clientside Validation 7.2

Same name and namespace in other branches
  1. 7 clientside_validation.module \clientside_validation_settings_current_form()
4 calls to clientside_validation_settings_current_form()
clientside_validation_add_validation in ./clientside_validation.module
clientside_validation_form_after_build in ./clientside_validation.module
Regular form.
clientside_validation_get_validators in ./clientside_validation.module
_clientside_validation_add_general_settings in ./clientside_validation.module

File

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

Code

function clientside_validation_settings_current_form($settings = NULL) {
  $current =& drupal_static(__FUNCTION__, array());
  if (isset($settings)) {
    $current = $settings;
  }
  return $current;
}