You are here

function theme_closeblock_block_id in Close Block 6

Same name and namespace in other branches
  1. 7 theme/closeblock.theme.inc \theme_closeblock_block_id()

Get block id

return 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.

... See full list

File

theme/closeblock.theme.inc, line 9

Code

function theme_closeblock_block_id($vars) {
  return 'block-' . str_replace('_', '-', $vars['module']) . '-' . str_replace('_', '-', $vars['delta']);
}