Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Archiver.php

function Archiver::__construct

Constructs an archiver plugin attribute object.

Parameters

string $id: The archiver plugin ID.

\Drupal\Core\StringTranslation\TranslatableMarkup|null $title: The human-readable name of the archiver plugin.

\Drupal\Core\StringTranslation\TranslatableMarkup|null $description: The description of the archiver plugin.

array $extensions: An array of valid extensions for this archiver.

class-string|null $deriver: (optional) The deriver class.

Overrides Plugin::__construct

File

core/lib/Drupal/Core/Archiver/Attribute/Archiver.php, line 37

Class

Archiver
Defines an archiver attribute object.

Namespace

Drupal\Core\Archiver\Attribute

Code

public function __construct(string $id, ?TranslatableMarkup $title = NULL, ?TranslatableMarkup $description = NULL, array $extensions = [], ?string $deriver = NULL) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal