function similarterms_block in Similar By Terms 6
Same name and namespace in other branches
- 5 similarterms.module \similarterms_block()
Implementation of hook_block().
File
- ./
similarterms.module, line 39 - Similar By Terms module displays a block with similar content based on taxonomy terms.
Code
function similarterms_block($op = 'list', $delta = 0, $edit = array()) {
$block = $form = array();
switch ($op) {
case 'list':
return similarterms_block_list();
case 'view':
return similarterms_block_view($delta);
case 'configure':
return similarterms_block_configure($delta);
case 'save':
similarterms_block_save($delta, $edit);
return;
}
}