You are here

public function DatabaseQueue::getOperations in Queue UI 8.2

SystemQueue implements all default QueueUI methods.

Return value

array An array of available QueueUI methods. Array key is system name of the operation, array key value is the display name.

Overrides QueueUIBase::getOperations

File

src/Plugin/QueueUI/DatabaseQueue.php, line 63

Class

DatabaseQueue
Defines the default Drupal Queue UI backend

Namespace

Drupal\queue_ui\Plugin\QueueUI

Code

public function getOperations() {
  return [
    'view' => $this
      ->t('View'),
    'release' => $this
      ->t('Release'),
    'delete' => $this
      ->t('Delete'),
  ];
}