You are here

public function AcquiaPurgeProcessorAjax::onMenu in Acquia Purge 7

Implements event onMenu.

See also

acquia_purge_menu()

File

lib/processor/AcquiaPurgeProcessorAjax.php, line 111
Contains AcquiaPurgeProcessorAjax.

Class

AcquiaPurgeProcessorAjax
Process the queue using a AJAX client-side UI.

Code

public function onMenu(&$items) {
  $items['acquia_purge_ajax_processor'] = array(
    'title' => 'Acquia Purge AJAX processor',
    'page callback' => 'AcquiaPurgeProcessorAjax::pathCallback',
    'access callback' => 'user_is_logged_in',
    'file' => 'lib/processor/AcquiaPurgeProcessorAjax.php',
    'type' => MENU_CALLBACK,
  );
}