function follow_block in Follow 6
Same name and namespace in other branches
- 5 follow.module \follow_block()
Implementation of hook_block().
File
- ./
follow.module, line 121 - Allows users to add links to their social network profiles.
Code
function follow_block($op = 'list', $delta = 'site', $edit = array()) {
// We pass this function through to the D7 versions to ease the process of
// keeping the branches in sync.
switch ($op) {
case 'list':
return follow_block_info();
default:
$fnc = 'follow_block_' . $op;
if (function_exists($fnc)) {
return $fnc($delta, $edit);
}
}
}