function ajax_facets_preprocess_block in Ajax facets 7.3
Implements hook_preprocess_block().
File
- includes/
ajax_facets.block.inc, line 175 - Functions, related with block API.
Code
function ajax_facets_preprocess_block(&$variables) {
if (!empty($variables['block']->module) && $variables['block']->module == 'facetapi') {
// Add BEM style class to facet block.
// This class is using to show hidden facet block.
$variables['classes_array'][] = 'block--ajax_facets';
}
}