You are here

public function PdfEngine::getPdfEnginePluginCollection in Entity Print 8

Gets a single lazy plugin collection.

Return value

\Drupal\Core\Plugin\DefaultSingleLazyPluginCollection The plugin collection for our PDF Engine plugin.

Overrides PdfEngineInterface::getPdfEnginePluginCollection

1 call to PdfEngine::getPdfEnginePluginCollection()
PdfEngine::getPluginCollections in src/Entity/PdfEngine.php
Gets the plugin collections used by this object.

File

src/Entity/PdfEngine.php, line 66

Class

PdfEngine
Defines the Pdf Engine specific configuration.

Namespace

Drupal\entity_print\Entity

Code

public function getPdfEnginePluginCollection() {
  if (!$this->pdfEnginePluginCollection) {
    $this->pdfEnginePluginCollection = new DefaultSingleLazyPluginCollection($this
      ->getPdfEnginePluginManager(), $this->id, $this->settings);
  }
  return $this->pdfEnginePluginCollection;
}