You are here

public static function MoAuthUtilities::mo_auth_get_url_parts in Google Authenticator / 2 Factor Authentication - 2FA 8.2

Return current URL parts.

11 calls to MoAuthUtilities::mo_auth_get_url_parts()
authenticate_user::buildForm in src/Form/authenticate_user.php
Form constructor.
authenticate_user::mo_auth_authenticate_user_submit in src/Form/authenticate_user.php
authenticate_user::mo_auth_build_form in src/Form/authenticate_user.php
authenticate_user::mo_auth_forgot_phone in src/Form/authenticate_user.php
configure_qrcode_authentication::buildForm in src/Form/configure_qrcode_authentication.php
Form constructor.

... See full list

File

src/MoAuthUtilities.php, line 212
This file is part of miniOrange 2FA module.

Class

MoAuthUtilities

Namespace

Drupal\miniorange_2fa

Code

public static function mo_auth_get_url_parts() {
  $query_param = \Drupal::service('path.current')
    ->getPath();
  $url_parts = explode('/', $query_param);
  return $url_parts;
}