You are here

function purl_test_purl_provider in Persistent URL 7

Same name and namespace in other branches
  1. 6 tests/purl_test.module \purl_test_purl_provider()

Implements hook_purl_provider().

File

tests/purl_test.module, line 44

Code

function purl_test_purl_provider() {
  $items = array();
  $items['purl_test'] = array(
    'name' => t('PURL test'),
    'description' => t('Provider for use with PURL tests.'),
    'callback' => 'purl_test_activate',
    'callback arguments' => array(),
    'example' => 'foo',
  );
  $items['purl_alt'] = array(
    'name' => t('PURL test (alternate provider)'),
    'description' => t('Alternate provider for use with PURL tests.'),
    'callback' => 'purl_test_activate',
    'callback arguments' => array(),
    'example' => 'sweden',
  );
  return $items;
}