You are here

public function TfaRecoveryCodeSetup::getSetupMessages in Two-factor Authentication (TFA) 8

Returns a list of messages for plugin step.

Return value

string[] An array containing messages to be used during plugin setup.

Overrides TfaSetupInterface::getSetupMessages

File

src/Plugin/TfaSetup/TfaRecoveryCodeSetup.php, line 160

Class

TfaRecoveryCodeSetup
TFA Recovery Code Setup Plugin.

Namespace

Drupal\tfa\Plugin\TfaSetup

Code

public function getSetupMessages() {
  return $this->pluginDefinition['setupMessages'] ?: [];
}