public function PushController::endpoint in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_push/src/PushController.php \Drupal\salesforce_push\PushController::endpoint()
- 5.0.x modules/salesforce_push/src/PushController.php \Drupal\salesforce_push\PushController::endpoint()
Page callback to process the entire push queue.
1 string reference to 'PushController::endpoint'
- salesforce_push.routing.yml in modules/
salesforce_push/ salesforce_push.routing.yml - modules/salesforce_push/salesforce_push.routing.yml
File
- modules/
salesforce_push/ src/ PushController.php, line 59
Class
- PushController
- Push controller.
Namespace
Drupal\salesforce_pushCode
public function endpoint() {
// "Access Denied" if standalone global config not enabled.
if (!$this
->config('salesforce.settings')
->get('standalone')) {
throw new AccessDeniedHttpException();
}
$this->pushQueue
->processQueues();
return new Response('', 204);
}