You are here

PrintableFormat.php in Printer and PDF versions for Drupal 8+ 8

Same filename and directory in other branches
  1. 2.x src/Annotation/PrintableFormat.php

File

src/Annotation/PrintableFormat.php
View source
<?php

namespace Drupal\printable\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an printable format annotation object.
 *
 * @Annotation
 */
class PrintableFormat extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The name of the module providing the type.
   *
   * @var string
   */
  public $module;

  /**
   * The human-readable name of the format.
   *
   * This is used as an administrative summary of what the format does.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $title;

  /**
   * Additional administrative information about the format's behavior.
   *
   * @var \Drupal\Core\Annotation\TranslationOptional
   *
   * @ingroup plugin_translatable
   */
  public $description = '';

}

Classes

Namesort descending Description
PrintableFormat Defines an printable format annotation object.