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.
File
- src/
MoAuthUtilities.php, line 212 - This file is part of miniOrange 2FA module.
Class
Namespace
Drupal\miniorange_2faCode
public static function mo_auth_get_url_parts() {
$query_param = \Drupal::service('path.current')
->getPath();
$url_parts = explode('/', $query_param);
return $url_parts;
}