You are here

public function ComputingQueue::createQueue in Drupal Computing 7.2

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).

Overrides DrupalQueueInterface::createQueue

File

./computing.queue.inc, line 77

Class

ComputingQueue
This file provides Queue support, an extra layer to handle computing records. The only benefit here is to provide an interface for Queue, perhaps people don't need it.

Code

public function createQueue() {

  // nothing to be done here as the 'computing' table/entity_type is created in installation.
}