You are here

public function MiniorangeOAuthClientCustomerSetup::rfd in OAuth2 Login 8

File

src/Form/MiniorangeOAuthClientCustomerSetup.php, line 327
Contains \Drupal\miniorange_oauth_client\Form\MiniorangeOAuthClientCustomerSetup.

Class

MiniorangeOAuthClientCustomerSetup

Namespace

Drupal\oauth2_login\Form

Code

public function rfd(array &$form, \Drupal\Core\Form\FormStateInterface $form_state) {
  global $base_url;
  $response = new RedirectResponse($base_url . "/admin/config/people/oauth2_login/request_for_demo");
  $response
    ->send();
}