public function MiniorangeOAuthClientCustomerSetup::saved_support in OAuth2 Login 8
Send support query.
File
- src/
Form/ MiniorangeOAuthClientCustomerSetup.php, line 321 - Contains \Drupal\miniorange_oauth_client\Form\MiniorangeOAuthClientCustomerSetup.
Class
Namespace
Drupal\oauth2_login\FormCode
public function saved_support(array &$form, \Drupal\Core\Form\FormStateInterface $form_state) {
$email = trim($form['miniorange_oauth_client_email_address']['#value']);
$phone = trim($form['miniorange_oauth_client_phone_number']['#value']);
$query = trim($form['miniorange_oauth_client_support_query']['#value']);
Utilities::send_support_query($email, $phone, $query);
}