DevelDumper.php

Same filename in this branch
  1. 5.x src/Annotation/DevelDumper.php
Same filename and directory in other branches
  1. 4.x src/Annotation/DevelDumper.php

Namespace

Drupal\devel\Attribute

File

src/Attribute/DevelDumper.php

View source
<?php

namespace Drupal\devel\Attribute;

use Drupal\Component\Plugin\Attribute\Plugin;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines a DevelDumper attribute object.
 *
 * @see \Drupal\devel\DevelDumperPluginManager
 * @see \Drupal\devel\DevelDumperInterface
 * @see \Drupal\devel\DevelDumperBase
 * @see plugin_api
 */
class DevelDumper extends Plugin {
  
  /**
   * Constructs a DevelDumper attribute.
   *
   * @param string $id
   *   The plugin ID.
   * @param \Drupal\Core\StringTranslation\TranslatableMarkup $label
   *   The human-readable name of the DevelDumper type.
   * @param \Drupal\Core\StringTranslation\TranslatableMarkup|null $description
   *   (optional) A short description of the DevelDumper type.
   * @param class-string|null $deriver
   *   (optional) The deriver class.
   */
  public function __construct(public readonly string $id, public readonly TranslatableMarkup $label, public readonly ?TranslatableMarkup $description = NULL, public readonly ?string $deriver = NULL) {
  }

}

Classes

Title Deprecated Summary
DevelDumper Defines a DevelDumper attribute object.