function mefibs_get_element_name_prefix in MEFIBS - More exposed forms in blocks 7
Build the element name prefix for the givne block_id.
Parameters
string $block_id:
Return value
string
4 calls to mefibs_get_element_name_prefix()
- mefibs_bef_mefibs_filter_alter in modules/
mefibs_bef/ mefibs_bef.module - Implements hook_mefibs_filter_alter().
- mefibs_exposed_block_form in ./
mefibs.module - Form builder for the additional exposed form.
- mefibs_exposed_block_form_submit in ./
mefibs.module - Custom submit handler for exposed forms.
- mefibs_views_pre_build in ./
mefibs.module - Implements hook_views_pre_build().
File
- ./
mefibs.module, line 835 - Primarily Drupal hooks and global API functions to manipulate views and to provide an additional block with an exposed filter form.
Code
function mefibs_get_element_name_prefix($block_id) {
return MEFIBS_VIEW_DISPLAY_PREFIX . '-' . str_replace('_', '-', $block_id);
}