public function PrintEngineStorage::getPrintEnginePluginCollection in Entity Print 8.2
Gets a single lazy plugin collection.
Return value
\Drupal\Core\Plugin\DefaultSingleLazyPluginCollection The plugin collection for our Print Engine plugin.
Overrides PrintEngineStorageInterface::getPrintEnginePluginCollection
1 call to PrintEngineStorage::getPrintEnginePluginCollection()
- PrintEngineStorage::getPluginCollections in src/
Entity/ PrintEngineStorage.php - Gets the plugin collections used by this object.
File
- src/
Entity/ PrintEngineStorage.php, line 66
Class
- PrintEngineStorage
- Defines the Print Engine specific configuration.
Namespace
Drupal\entity_print\EntityCode
public function getPrintEnginePluginCollection() {
if (!$this->printEnginePluginCollection) {
$this->printEnginePluginCollection = new DefaultSingleLazyPluginCollection($this
->getPrintEnginePluginManager(), $this->id, $this->settings);
}
return $this->printEnginePluginCollection;
}