function Archiver::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/Archiver/Attribute/Archiver.php \Drupal\Core\Archiver\Attribute\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\AttributeCode
public function __construct(string $id, ?TranslatableMarkup $title = NULL, ?TranslatableMarkup $description = NULL, array $extensions = [], ?string $deriver = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.