function theme_freelink_pluginname in Freelinking 6.3
Same name and namespace in other branches
- 7.3 freelinking.api.php \theme_freelink_pluginname()
Individual modules may implement a theme_freelink_pluginname(). Doing so will override the standard theme_freelink(). Modules must still implement hook_theme to declare their theme function.
In this example, the "pluginname" plugin is themed to become an image to the targeted URL, instead of a link.
File
- ./
freelinking.api.php, line 71 - Freelinking 3 API
Code
function theme_freelink_pluginname($link) {
return theme('image', $link[1], $link[0], $link[2]['attributes']['title']);
}