abstract class PdfEventBase in Entity Print 8
Hierarchy
- class \Drupal\entity_print\Event\PdfEventBase extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of PdfEventBase
File
- src/Event/ PdfEventBase.php, line 8 
Namespace
Drupal\entity_print\EventView source
abstract class PdfEventBase extends Event {
  /**
   * @var \Drupal\entity_print\Plugin\PdfEngineInterface
   */
  protected $pdfEngine;
  /**
   * The PDF Engine event base class.
   *
   * @param \Drupal\entity_print\Plugin\PdfEngineInterface $pdf_engine
   *   The PDF Engine.
   */
  public function __construct(PdfEngineInterface $pdf_engine) {
    $this->pdfEngine = $pdf_engine;
  }
  /**
   * Gets the PDF Engine plugin that will print the PDF.
   *
   * @return \Drupal\entity_print\Plugin\PdfEngineInterface
   *   The PDF Engine.
   */
  public function getPdfEngine() {
    return $this->pdfEngine;
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| PdfEventBase:: | protected | property | ||
| PdfEventBase:: | public | function | Gets the PDF Engine plugin that will print the PDF. | |
| PdfEventBase:: | public | function | The PDF Engine event base class. | 2 | 
