You are here

public function Settings::rfd in OAuth2 Login 8

File

src/Form/Settings.php, line 145

Class

Settings

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();
}