You are here

function menu_block_clean_css_identifier in Menu Block 7.2

Same name and namespace in other branches
  1. 7.3 menu_block.module \menu_block_clean_css_identifier()

A copy of drupal_clean_css_identifier() that cleans up colon characters.

1 call to menu_block_clean_css_identifier()
template_preprocess_menu_block_wrapper in ./menu_block.module
Process variables for menu-block-wrapper.tpl.php.

File

./menu_block.module, line 199
Provides configurable blocks of menu items.

Code

function menu_block_clean_css_identifier($identifier, $filter = array(
  ' ' => '-',
  '_' => '-',
  '/' => '-',
  '[' => '-',
  ']' => '',
  ':' => '-',
)) {
  return drupal_clean_css_identifier($identifier, $filter);
}