You are here

function addressfield_tokens_webform_validator_alter in Addressfield Tokens 7

Implements hook_webform_validator_alter().

File

./addressfield_tokens.module, line 500
Main components.

Code

function addressfield_tokens_webform_validator_alter(&$validators) {
  $validators['unique']['component_types'][] = 'addressfield';
  $validators['oneoftwo']['component_types'][] = 'addressfield';
  $validators['oneofseveral']['component_types'][] = 'addressfield';
}