TfaValidation.php in Two-factor Authentication (TFA) 8
Namespace
Drupal\tfa\AnnotationFile
src/Annotation/TfaValidation.phpView source
<?php
namespace Drupal\tfa\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a TFA Validation annotation object.
*
* @Annotation
*/
class TfaValidation extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the Tfa validation.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* The description shown to users.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* Plugin ID for user-specific setup plugin for this validation plugin.
*
* @var string
*/
public $setupPluginId;
}
Classes
Name | Description |
---|---|
TfaValidation | Defines a TFA Validation annotation object. |