function language_selection_page_block_info in Language Selection Page 7.2
Same name and namespace in other branches
- 7 language_selection_page.module \language_selection_page_block_info()
Implements hook_block_info().
File
- ./
language_selection_page.module, line 203
Code
function language_selection_page_block_info() {
$blocks = array();
if (LANGUAGE_SELECTION_PAGE_BLOCK === variable_get('language_selection_page_redirect_type', LANGUAGE_SELECTION_PAGE_TEMPLATE_ONLY)) {
$blocks['block'] = array(
'info' => t('Language Selection Block'),
'cache' => DRUPAL_NO_CACHE,
);
}
return $blocks;
}