You are here

function hook_purl_processor in Persistent URL 6

Same name and namespace in other branches
  1. 7 purl.api.php \hook_purl_processor()

CTools plugin API hook for PURL. Note that a proper entry in hook_ctools_plugin_api() must exist for this hook to be called.

1 function implements hook_purl_processor()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

purl_purl_processor in ./purl.module
Implementation of hook_purl_processor().

File

./purl.api.php, line 52
Hooks provided by PURL.

Code

function hook_purl_processor() {
  $plugins = array();
  $plugins['cookie'] = array(
    'title' => t('Title as shown in UI'),
    'handler' => array(
      'path' => drupal_get_path('module', 'foo') . '/plugins',
      'file' => 'purl_cookie.inc',
      'class' => 'purl_cookie',
      'parent' => 'processor',
    ),
  );
  return $plugins;
}