public function DrupalQueueInterface::createQueue

Create a queue.

Called during installation and should be used to perform any necessary initialization operations. This should not be confused with the constructor for these objects, which is called every time an object is instantiated to operate on a queue. This operation is only needed the first time a given queue is going to be initialized (for example, to make a new database table or directory to hold tasks for the queue -- it depends on the queue implementation if this is necessary at all).

2 methods override DrupalQueueInterface::createQueue()
MemoryQueue::createQueue in drupal/modules/system/system.queue.inc
Create a queue.
SystemQueue::createQueue in drupal/modules/system/system.queue.inc
Create a queue.

File

drupal/modules/system/system.queue.inc, line 178
Queue functionality.

Class

DrupalQueueInterface

Code

public function createQueue();