1. 8.3.x core/lib/Drupal/Core/Annotation/Mail.php
  2. 8.0.x core/lib/Drupal/Core/Annotation/Mail.php
  3. 8.1.x core/lib/Drupal/Core/Annotation/Mail.php
  4. 8.2.x core/lib/Drupal/Core/Annotation/Mail.php
  5. 8.4.x core/lib/Drupal/Core/Annotation/Mail.php

Namespace

Drupal\Core\Annotation

File

core/lib/Drupal/Core/Annotation/Mail.php
View source
  1. <?php
  2. namespace Drupal\Core\Annotation;
  3. use Drupal\Component\Annotation\Plugin;
  4. /**
  5. * Defines a Mail annotation object.
  6. *
  7. * Plugin Namespace: Plugin\Mail
  8. *
  9. * For a working example, see \Drupal\Core\Mail\Plugin\Mail\PhpMail
  10. *
  11. * @see \Drupal\Core\Mail\MailInterface
  12. * @see \Drupal\Core\Mail\MailManager
  13. * @see plugin_api
  14. *
  15. * @Annotation
  16. */
  17. class Mail extends Plugin {
  18. /**
  19. * The plugin ID.
  20. *
  21. * @var string
  22. */
  23. public $id;
  24. /**
  25. * The human-readable name of the mail plugin.
  26. *
  27. * @var \Drupal\Core\Annotation\Translation
  28. *
  29. * @ingroup plugin_translatable
  30. */
  31. public $label;
  32. /**
  33. * A short description of the mail plugin.
  34. *
  35. * @var \Drupal\Core\Annotation\Translation
  36. *
  37. * @ingroup plugin_translatable
  38. */
  39. public $description;
  40. }

Classes

Namesort descending Description
Mail Defines a Mail annotation object.