private function ContentHubWebhookController::processReindexWebhook in Acquia Content Hub 8
Process a Reindex Webhook.
Parameters
array $webhook: The webhook array.
1 call to ContentHubWebhookController::processReindexWebhook()
- ContentHubWebhookController::processWebhook in src/
Controller/ ContentHubWebhookController.php - Enables other modules to process the webhook.
File
- src/
Controller/ ContentHubWebhookController.php, line 338
Class
- ContentHubWebhookController
- Controller for Content Hub Imported Entities.
Namespace
Drupal\acquia_contenthub\ControllerCode
private function processReindexWebhook(array $webhook) {
// Update the Reindex State Variable.
if ($this->contentHubReindex
->isReindexSent()) {
$this->contentHubReindex
->setReindexStateFinished();
}
}