public function Settings::saved_support in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8
File
- src/
Form/ Settings.php, line 222
Class
Namespace
Drupal\miniorange_oauth_client\FormCode
public function saved_support(array &$form, FormStateInterface $form_state) {
$email = trim($form['miniorange_oauth_client_email_address']['#value']);
$phone = $form['miniorange_oauth_client_phone_number']['#value'];
$query = trim($form['miniorange_oauth_client_support_query']['#value']);
Utilities::send_support_query($email, $phone, $query);
}