function DevelDumper::__construct

Constructs a DevelDumper attribute.

Parameters

string $id: The plugin ID.

\Drupal\Core\StringTranslation\TranslatableMarkup $label: The human-readable name of the DevelDumper type.

\Drupal\Core\StringTranslation\TranslatableMarkup|null $description: (optional) A short description of the DevelDumper type.

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

Overrides Plugin::__construct

File

src/Attribute/DevelDumper.php, line 31

Class

DevelDumper
Defines a DevelDumper attribute object.

Namespace

Drupal\devel\Attribute

Code

public function __construct(public readonly string $id, public readonly TranslatableMarkup $label, public readonly ?TranslatableMarkup $description = NULL, public readonly ?string $deriver = NULL) {
}