You are here

public function TfaSetup::getErrorMessages in Two-factor Authentication (TFA) 8

Return process error messages.

Return value

string[] An array containing the setup errors.

File

src/TfaSetup.php, line 78

Class

TfaSetup
TFA Setup.

Namespace

Drupal\tfa

Code

public function getErrorMessages() {
  return $this->setupPlugin
    ->getErrorMessages();
}