You are here

function _acquia_purge_service in Acquia Purge 7

Retrieve the global AcquiaPurgeService instance.

Return value

AcquiaPurgeService The Acquia Purge service object.

7 calls to _acquia_purge_service()
AcquiaPurgeProcessorAjax::pathCallback in lib/processor/AcquiaPurgeProcessorAjax.php
Process a chunk of items form the queue and respond in JSON.
acquia_purge_form_system_performance_settings_submit in ./acquia_purge.module
Form submit callback.
acquia_purge_manualpurge_form_full in ./acquia_purge.admin.inc
UX rich form that lets administrative users purge paths manually.
drush_acquia_purge_ap_forget in ./acquia_purge.drush.inc
Forget all scheduled purges and empty the queue.
drush_acquia_purge_ap_process in ./acquia_purge.drush.inc
Purge all queued items from the command line.

... See full list

File

./acquia_purge.module, line 831
Acquia Purge, Top-notch Varnish purging on Acquia Cloud!

Code

function _acquia_purge_service() {
  static $service;
  if (is_null($service)) {
    $class = _acquia_purge_load('_acquia_purge_service');
    $service = new $class();
  }
  return $service;
}