public function PushQueueInterface::failItem in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::failItem()
- 5.0.x modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::failItem()
Failed item handler.
Exception handler so that Queue Processors don't have to worry about what happens when a queue item fails.
Parameters
\Exception $e: The exception which caused the failure.
object $item: The failed item.
1 method overrides PushQueueInterface::failItem()
- PushQueue::failItem in modules/
salesforce_push/ src/ PushQueue.php - Failed item handler.
File
- modules/
salesforce_push/ src/ PushQueueInterface.php, line 55
Class
- PushQueueInterface
- Push queue interface.
Namespace
Drupal\salesforce_pushCode
public function failItem(\Exception $e, \stdClass $item);