You are here

public function TfaTrustedBrowserSetup::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/TfaTrustedBrowserSetup.php, line 255

Class

TfaTrustedBrowserSetup
TFA Trusted Browser Setup Plugin.

Namespace

Drupal\tfa\Plugin\TfaSetup

Code

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