public static function BrokenEntityQueueHandler::getInstance in Entityqueue 7
Factory function: creates a new instance of this handler for a queue.
Parameters
EntityQueue $queue: An EntityQueue object.
Return value
Overrides EntityQueueHandlerBase::getInstance
2 calls to BrokenEntityQueueHandler::getInstance()
- EntityQueueHandlerBase::getInstance in plugins/
entityqueue/ handler/ base.inc - Factory function: creates a new instance of this handler for a queue.
- entityqueue_get_handler in ./
entityqueue.module - Gets the handler for a given queue.
File
- plugins/
entityqueue/ handler/ base.inc, line 192 - Contains Entityqueue handler interface and base class.
Class
- BrokenEntityQueueHandler
- A NULL implementation of EntityQueueHandlerInterface.
Code
public static function getInstance(EntityQueue $queue) {
return new BrokenEntityQueueHandler($queue);
}