Archiver.php

Same filename in this branch
  1. 10 core/lib/Drupal/Core/Archiver/Attribute/Archiver.php
Same filename in other branches
  1. 9 core/lib/Drupal/Core/Archiver/Annotation/Archiver.php
  2. 8.9.x core/lib/Drupal/Core/Archiver/Annotation/Archiver.php
  3. 11.x core/lib/Drupal/Core/Archiver/Attribute/Archiver.php
  4. 11.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
<?php

namespace Drupal\Core\Archiver\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an archiver annotation object.
 *
 * Plugin Namespace: Plugin\Archiver
 *
 * For a working example, see \Drupal\system\Plugin\Archiver\Zip
 *
 * @see \Drupal\Core\Archiver\ArchiverManager
 * @see \Drupal\Core\Archiver\ArchiverInterface
 * @see plugin_api
 * @see hook_archiver_info_alter()
 *
 * @Annotation
 */
class Archiver extends Plugin {
    
    /**
     * The archiver plugin ID.
     *
     * @var string
     */
    public $id;
    
    /**
     * The human-readable name of the archiver plugin.
     *
     * @ingroup plugin_translatable
     *
     * @var \Drupal\Core\Annotation\Translation
     */
    public $title;
    
    /**
     * The description of the archiver plugin.
     *
     * @ingroup plugin_translatable
     *
     * @var \Drupal\Core\Annotation\Translation
     */
    public $description;
    
    /**
     * An array of valid extensions for this archiver.
     *
     * @var array
     */
    public $extensions;

}

Classes

Title Deprecated Summary
Archiver Defines an archiver annotation object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.