summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/system/src/Plugin/Archiver/Zip.php
blob: 45c4c1358f3050fc932f5bc76db46b83837b60f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace Drupal\system\Plugin\Archiver;

use Drupal\Core\Archiver\Attribute\Archiver;
use Drupal\Core\Archiver\Zip as BaseZip;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines an archiver implementation for .zip files.
 *
 * @link http://php.net/zip
 */
#[Archiver(
  id: 'Zip',
  title: new TranslatableMarkup('Zip'),
  description: new TranslatableMarkup('Handles zip files.'),
  extensions: ['zip']
)]
class Zip extends BaseZip {
}