Hi, the title and parent key is missing in purl.api.php.

purl.api.php

/**
 * CTools plugin API hook for PURL. Note that a proper entry in
 * hook_ctools_plugin_api() must exist for this hook to be called.
 */
function hook_purl_processor() {
  $plugins = array();
  $plugins['cookie'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'foo') .'/plugins',
      'file' => 'purl_cookie.inc',
      'class' => 'purl_cookie',
    ),
  );
  return $plugins;
}

purl.module

/**
 * Implementation of hook_purl_processor().
 */
function purl_purl_processor() {
  $info = array();

  // some code ...

  $info['path'] = array(
    'title' => t('Path'),
    'handler' => array(
      'class' => 'purl_path',
      'file' => 'purl_path.inc',
      'path' => drupal_get_path('module', 'purl') .'/includes',
      'parent' => 'processor',
    ),
  );

  // some code ...

  return $info;
}

thx.
flo

Comments

bblake’s picture

Status: Active » Fixed
StatusFileSize
new517 bytes
new516 bytes

Thanks for the note. Added patches and committed the changes to both branches in the repo.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.