You are here

public function EntitySubqueue::getQueue in Entityqueue 8

Returns the subqueue's parent queue entity.

Return value

\Drupal\entityqueue\EntityQueueInterface The parent queue entity.

Overrides EntitySubqueueInterface::getQueue

2 calls to EntitySubqueue::getQueue()
EntitySubqueue::getCacheTagsToInvalidate in src/Entity/EntitySubqueue.php
Returns the cache tags that should be used to invalidate caches.
EntitySubqueue::preSave in src/Entity/EntitySubqueue.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/EntitySubqueue.php, line 134

Class

EntitySubqueue
Defines the EntitySubqueue entity class.

Namespace

Drupal\entityqueue\Entity

Code

public function getQueue() {
  return $this
    ->get('queue')->entity;
}