You are here

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

Get error messages suitable for form_set_error().

Return value

array An array of error strings.

File

src/Plugin/TfaBasePlugin.php, line 131

Class

TfaBasePlugin
Base plugin class.

Namespace

Drupal\tfa\Plugin

Code

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