protected function OgDeleteOrphansBase::getQueue in Organic groups 8
Returns the queue of orphans to delete.
Return value
\Drupal\Core\Queue\QueueInterface The queue.
2 calls to OgDeleteOrphansBase::getQueue()
- Batch::process in src/
Plugin/ OgDeleteOrphans/ Batch.php - Starts the deletion process.
- Simple::process in src/
Plugin/ OgDeleteOrphans/ Simple.php - Starts the deletion process.
1 method overrides OgDeleteOrphansBase::getQueue()
- Cron::getQueue in src/
Plugin/ OgDeleteOrphans/ Cron.php - Returns the queue of orphans to delete.
File
- src/
OgDeleteOrphansBase.php, line 173
Class
- OgDeleteOrphansBase
- Base implementation for OgDeleteOrphans plugins.
Namespace
Drupal\ogCode
protected function getQueue() {
return $this->queueFactory
->get('og_orphaned_group_content', TRUE);
}