You are here

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

Get the plugin label.

Return value

string The plugin label.

File

src/Plugin/TfaBasePlugin.php, line 250

Class

TfaBasePlugin
Base plugin class.

Namespace

Drupal\tfa\Plugin

Code

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