You are here

protected function EntityQueue::getPluginCollection in Entityqueue 8

Encapsulates the creation of the EntityQueueHandlerPluginCollection.

Return value

\Drupal\entityqueue\EntityQueueHandlerPluginCollection The entity queue's plugin collection.

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

File

src/Entity/EntityQueue.php, line 221

Class

EntityQueue
Defines the EntityQueue entity class.

Namespace

Drupal\entityqueue\Entity

Code

protected function getPluginCollection() {
  if (!$this->handlerPluginCollection) {
    $this->handlerPluginCollection = new EntityQueueHandlerPluginCollection(\Drupal::service('plugin.manager.entityqueue.handler'), $this->handler, $this->handler_configuration, $this);
  }
  return $this->handlerPluginCollection;
}