function janrain_capture_ui_block_view in Janrain Registration 7
Implements hook_block_view().
File
- ./
janrain_capture_ui.module, line 136 - This module implements UI elements for Janrain Capture
Code
function janrain_capture_ui_block_view($delta) {
if (!janrain_capture_configured()) {
return array();
}
$block = array();
switch ($delta) {
case 'janrain_capture':
$block['subject'] = t('Janrain Capture');
$block['content'] = janrain_capture_block_content();
break;
}
return $block;
}