Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Google Authenticator / 2 Factor Authentication - 2FA 7 » mo_auth_inline_registration.inc

function onlySelectedMethod in Google Authenticator / 2 Factor Authentication - 2FA 7

2 calls to onlySelectedMethod()
handle_page_two_submit in ./mo_auth_inline_registration.inc
isFourthPageRequired in ./mo_auth_inline_registration.inc

File

./mo_auth_inline_registration.inc, line 1425

Code

function onlySelectedMethod() {
  return array_keys(MoAuthUtilities::get_2fa_methods_for_inline_registration(TRUE))[0];
}

API Navigation

  • Google Authenticator / 2 Factor Authentication - 2FA 7
  • Classes
  • Functions
  • Files

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.