You are here

function _acquia_purge_ui_trigger_purge in Acquia Purge 7

DEPRECATED: Trigger client-side AJAX based purging during this request.

File

./acquia_purge.deprecated.inc, line 240
Deprecated functions.

Code

function _acquia_purge_ui_trigger_purge() {
  _acquia_purge_deprecated('AcquiaPurgeProcessorAjax::initializeClientSideProcessor()');

  // Call onInit, which will call initializeClientSideProcessor when it should.
  _acquia_purge_service()
    ->processors()
    ->get('AcquiaPurgeProcessorAjax')
    ->onInit();
}