Mail.php 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. }