function theme_closeblock_block_id in Close Block 7
Same name and namespace in other branches
- 6 theme/closeblock.theme.inc \theme_closeblock_block_id()
Get block id.
Return value
string Block id string.
7 theme calls to theme_closeblock_block_id()
- closeblock_ajax_settings in includes/
closeblock.api.inc - Write block settings to Drupal.settings.closeblock.
- closeblock_block_admin_configure in includes/
closeblock.form.inc - Add Closeblock settings to block settings form.
- closeblock_closing_info_anonymous_get in includes/
closeblock.api.inc - Get info for anonymous users.
- closeblock_closing_info_anonymous_set in includes/
closeblock.api.inc - Set info for anonymous users.
- closeblock_closing_info_get in includes/
closeblock.api.inc - Get info.
File
- theme/
closeblock.theme.inc, line 14 - Function to return block id string.
Code
function theme_closeblock_block_id($vars) {
return 'block-' . str_replace('_', '-', $vars['module']) . '-' . str_replace('_', '-', $vars['delta']);
}