You are here

function apc_xmlrpc in APC - Alternative PHP Cache 7

Implements hook_xmlrpc().

File

./apc.module, line 5
This integrates the drupal APC cache module.

Code

function apc_xmlrpc() {
  $methods[] = array(
    'apc_drush_flush',
    // Method name.
    'apc_drush_flush',
    // Callback.
    array(
      'array',
      // Return variable.
      'array',
    ),
    t('XMLRPC callback to enable cache clear from Drush/CLI.'),
  );
  return $methods;
}