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