You are here

function _telephone_validation_country_ajax_callback in Telephone Validation 8.2

Returns valid countries field on ajax request.

1 string reference to '_telephone_validation_country_ajax_callback'
telephone_validation_form_field_config_edit_form_alter in ./telephone_validation.module
Implements hook_form_FORM_ID_alter().

File

./telephone_validation.module, line 106
Validate telephone number.

Code

function _telephone_validation_country_ajax_callback($form, FormStateInterface $form_state) {
  return $form['telephone_validation']['country'];
}