function hook_freelinking in Freelinking 6.3
Same name and namespace in other branches
- 7.3 freelinking.api.php \hook_freelinking()
hook_freelinking() is used to define plugins or add new values to plugins.
For more on creating or modifying plugins, check the documentation.
See also
2 functions implement hook_freelinking()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- freelinking_freelinking in ./
freelinking.module - Implementation of hook_freelinking().
- freelinking_prepopulate_freelinking in modules/
freelinking_prepopulate/ freelinking_prepopulate.module
1 invocation of hook_freelinking()
- freelinking_get_plugins in ./
freelinking.utilities.inc - Invoke hook_freelinking() to validate & sort available FL plugins.
File
- ./
freelinking.api.php, line 17 - Freelinking 3 API
Code
function hook_freelinking() {
$plugins['myplugin'] = array(
'indicator' => '/myplugin/',
'translate' => array(
' ' => '_',
),
'replacement' => 'http://example.com/node/%1',
);
return $plugins;
}