You are here

public function MiniorangeLicensing::send_rfd_query in OAuth2 Login 8

File

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

Class

MiniorangeLicensing

Namespace

Drupal\oauth2_login\Form

Code

public function send_rfd_query(array &$form, \Drupal\Core\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);
}