You are here

TfaSend.php in Two-factor Authentication (TFA) 8

File

src/Annotation/TfaSend.php
View source
<?php

namespace Drupal\tfa\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a TFA Send annotation object.
 *
 * @Annotation
 */
class TfaSend extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the Tfa send.
   *
   * @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 send plugin.
   *
   * @var string
   */
  public $setupPluginId;

}

Classes

Namesort descending Description
TfaSend Defines a TFA Send annotation object.