function mediafront_block in MediaFront 6.2
Same name and namespace in other branches
- 6 mediafront.module \mediafront_block()
Implements hook_block
File
- ./
mediafront.module, line 493
Code
function mediafront_block($op = 'list', $delta = 0, $edit = array()) {
if ($op == 'list') {
return mediafront_block_info();
}
if ($delta == 'mediaplayer') {
switch ($op) {
case 'configure':
return mediafront_block_configure($delta);
break;
case 'save':
mediafront_block_save($delta, $edit);
break;
case 'view':
return mediafront_block_view($delta);
break;
}
}
}