function hook_purl_modifiers in Persistent URL 6
Same name and namespace in other branches
- 7 purl.api.php \hook_purl_modifiers()
Optional hook for providers who use custom storage for modifiers. Should return a keyed array where each key is a provider identifier and each value is a sub-array of modifiers with modifier value and ID.
1 function implements hook_purl_modifiers()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- purl_test_purl_modifiers in tests/
purl_test.module - Implementation of hook_purl_modifiers().
1 invocation of hook_purl_modifiers()
- purl_modifiers in ./
purl.module - Queries the database & modules for valid values based on modifing method.
File
- ./
purl.api.php, line 39 - Hooks provided by PURL.
Code
function hook_purl_modifiers() {
return array(
'example_provider' => array(
array(
'value' => 'foo',
'id' => 1,
),
array(
'value' => 'bar',
'id' => 2,
),
),
);
}