You are here

PdfGenerator.php in PDF generator API 2.x

Same filename and directory in other branches
  1. 8 src/Annotation/PdfGenerator.php

File

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

/**
 * @file
 * Contains \Drupal\pdf_api\Annotation\PdfGenerator.
 */
namespace Drupal\pdf_api\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an PDF generator annotation object.
 *
 * @Annotation
 */
class PdfGenerator extends Plugin {

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

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

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

  /**
   * Additional administrative information about the generator's behavior.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation (optional)
   */
  public $description = '';

}

Classes

Namesort descending Description
PdfGenerator Defines an PDF generator annotation object.