Created
October 15, 2012 23:24
-
-
Save z3cka/3896309 to your computer and use it in GitHub Desktop.
remove so and so's blog link from the blog links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_node_view_alter(). | |
*/ | |
function yourawesomemodule_node_view_alter(&$build){ | |
// remove so and so's blog link from the blog links | |
if ($build['links']['blog']) { | |
$build['links']['blog'] = NULL; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment