function menu_block_clean_css_identifier in Menu Block 7.3
Same name and namespace in other branches
- 7.2 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);
}