diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-02 11:24:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-02 11:24:21 +0000 |
commit | 065346b3662e0ead6d4e7e0cffdc4d3aed4b2753 (patch) | |
tree | a8463a974f0ef8f2ff9e8eedd2865517dd9c8a4d /modules/system/system.api.php | |
parent | fd22c347b01fced973e33873ba536ef21f0e35ac (diff) | |
download | brdo-065346b3662e0ead6d4e7e0cffdc4d3aed4b2753.tar.gz brdo-065346b3662e0ead6d4e7e0cffdc4d3aed4b2753.tar.bz2 |
- Patch #535034 by yched: clean up how fields and instances are prepared for runtime.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 9c5435275..550d43431 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -558,25 +558,6 @@ function hook_link($type, $object, $build_mode) { } /** - * Perform alterations before links on a comment are rendered. One popular use of - * this hook is to modify/remove links from other modules. If you want to add a link - * to the links section of a node, use hook_link instead. - * - * @param $links - * Nested array of links for the node keyed by providing module. - * @param $node - * A node object that contains the links. - */ -function hook_link_alter(array &$links, $node) { - foreach ($links as $module => $link) { - if (strpos($module, 'taxonomy_term') !== FALSE) { - // Link back to the forum and not the taxonomy term page - $links[$module]['href'] = str_replace('taxonomy/term', 'forum', $link['href']); - } - } -} - -/** * Perform alterations profile items before they are rendered. You may omit/add/re-sort/re-categorize, etc. * * @param $account |