You are here

public function MiniorangeLicensing::send_rfd_query in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8

File

src/Form/MiniorangeLicensing.php, line 269
Contains Licensing information for miniOrange OAuth Client Login Module.

Class

MiniorangeLicensing

Namespace

Drupal\miniorange_oauth_client\Form

Code

public function send_rfd_query(array &$form, FormStateInterface $form_state) {
  $email = trim($form['customer_email']['#value']);
  $demo_plan = $form['demo_plan']['#value'];
  $description_doubt = trim($form['description_doubt']['#value']);
  $query = $demo_plan . ' -> ' . $description_doubt;
  Utilities::send_demo_query($email, $query, $description_doubt);
}