You are here

function send_support_query in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 7

Same name in this branch
  1. 7 miniorange_config.php \send_support_query()
  2. 7 miniorange_oauth_client_attr_mapping.inc \send_support_query()
  3. 7 miniorange_oauth_client_reports.inc \send_support_query()
  4. 7 miniorange_oauth_client_customer_setup.inc \send_support_query()
  5. 7 miniorange_oauth_login_options.inc \send_support_query()

Send support query.

1 string reference to 'send_support_query'
Utilities::AddSupportButton in includes/Utilities.php
This function adds the support block

File

./miniorange_config.php, line 724

Code

function send_support_query(&$form, $form_state) {
  $email = trim($form['miniorange_oauth_email_address_support']['#value']);
  $phone = $form['miniorange_oauth_phone_number_support']['#value'];
  $query = trim($form['miniorange_oauth_support_query_support']['#value']);
  Utilities::send_query($email, $phone, $query);
}