You are here

function hook_acquia_purge_executors in Acquia Purge 7

Register executor backends to run after Acquia Purge's core executors.

Parameters

string[] $paths: List of paths to files declaring AcquiaPurgeExecutorInterface derivatives.

See also

_acquia_purge_load()

AcquiaPurgeExecutorsService::getRegisteredBackends()

AcquiaPurgeExecutorBase

AcquiaPurgeExecutorInterface

1 invocation of hook_acquia_purge_executors()
AcquiaPurgeExecutorsService::getRegisteredBackends in lib/executor/AcquiaPurgeExecutorsService.php
Retrieve all loadable backends.

File

./acquia_purge.api.php, line 104
Hooks provided by the Acquia Purge module.

Code

function hook_acquia_purge_executors(&$paths) {
  $paths[] = drupal_get_path('module', 'mymodule') . '/myExecutorBackend.php';
}