Merge pull request #22664 from braders/membershipview-default-values
[civicrm-core.git] / CRM / Queue / BAO / Queue.php
CommitLineData
a7069ee8
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12/**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17
18/**
19 * Track a list of known queues.
20 */
21class CRM_Queue_BAO_Queue extends CRM_Queue_DAO_Queue {
22
23 /**
24 * Get a list of valid queue types.
25 *
26 * @return string[]
27 */
28 public static function getTypes($context = NULL) {
29 return [
30 'Memory' => ts('Memory (Linear)'),
31 'Sql' => ts('SQL (Linear)'),
32 'SqlParallel' => ts('SQL (Parallel)'),
33 ];
34 }
35
36}