class PrintableFormat in Printer and PDF versions for Drupal 8+ 8
Same name and namespace in other branches
- 2.x src/Annotation/PrintableFormat.php \Drupal\printable\Annotation\PrintableFormat
 
Defines an printable format annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\printable\Annotation\PrintableFormat
 
 
Expanded class hierarchy of PrintableFormat
2 classes are annotated with PrintableFormat
- PdfFormat in modules/
printable_pdf/ src/ Plugin/ PrintableFormat/ PdfFormat.php  - Provides a plugin to display a PDF version of a page.
 - PrintFormat in src/
Plugin/ PrintableFormat/ PrintFormat.php  - Provides a plugin to display a printable version of a page.
 
File
- src/
Annotation/ PrintableFormat.php, line 12  
Namespace
Drupal\printable\AnnotationView source
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 = '';
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            Plugin:: | 
                  protected | property | The plugin definition read from the class annotation. | 1 | 
| 
            Plugin:: | 
                  public | function | 
            Gets the value of an annotation. Overrides AnnotationInterface:: | 
                  5 | 
| 
            Plugin:: | 
                  public | function | 
            Gets the class of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Gets the unique ID for this annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  protected | function | Parses an annotation into its definition. | |
| 
            Plugin:: | 
                  public | function | 
            Sets the class of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | Constructs a Plugin object. | 2 | 
| 
            PrintableFormat:: | 
                  public | property | Additional administrative information about the format's behavior. | |
| 
            PrintableFormat:: | 
                  public | property | The plugin ID. | |
| 
            PrintableFormat:: | 
                  public | property | The name of the module providing the type. | |
| 
            PrintableFormat:: | 
                  public | property | The human-readable name of the format. |