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

Namespace

Drupal\Core\Archiver\Annotation

File

core/lib/Drupal/Core/Archiver/Annotation/Archiver.php
View source
  1. <?php
  2. namespace Drupal\Core\Archiver\Annotation;
  3. use Drupal\Component\Annotation\Plugin;
  4. /**
  5. * Defines an archiver annotation object.
  6. *
  7. * Plugin Namespace: Plugin\Archiver
  8. *
  9. * For a working example, see \Drupal\system\Plugin\Archiver\Zip
  10. *
  11. * @see \Drupal\Core\Archiver\ArchiverManager
  12. * @see \Drupal\Core\Archiver\ArchiverInterface
  13. * @see plugin_api
  14. * @see hook_archiver_info_alter()
  15. *
  16. * @Annotation
  17. */
  18. class Archiver extends Plugin {
  19. /**
  20. * The archiver plugin ID.
  21. *
  22. * @var string
  23. */
  24. public $id;
  25. /**
  26. * The human-readable name of the archiver plugin.
  27. *
  28. * @ingroup plugin_translatable
  29. *
  30. * @var \Drupal\Core\Annotation\Translation
  31. */
  32. public $title;
  33. /**
  34. * The description of the archiver plugin.
  35. *
  36. * @ingroup plugin_translatable
  37. *
  38. * @var \Drupal\Core\Annotation\Translation
  39. */
  40. public $description;
  41. /**
  42. * An array of valid extensions for this archiver.
  43. *
  44. * @var array
  45. */
  46. public $extensions;
  47. }

Classes

Namesort descending Description
Archiver Defines an archiver annotation object.