I am using the 7.x-3.0 version of Bootstrap and have sub themed it. I want to change wrapped div, add 'input-group-sm' to the class bit I can't not figure out how to override it. if I add search-block-form.tpl.php to my sub theme I can access and alter that but the code I need is in bootstrap-search-form-wrapper-func.php I have copied that to my sub theme with no success. I have tried replicating the same file structure as Bootstrap 'mytheme/theme/bootstrap/bootstrap-search-form-wrapper.func.php', I have tried putting just in my templates dir.
My last attempt was trying to follow the instructions on theme registry alters: https://www.drupal.org/node/2224003 which I have as this:
function CFbootstrap_theme(&$existing, $type, $theme, $path) {
$hooks['CFbootstrap_hook'] = array(
'CFbootstrap_search_form_wrapper' => array(
'render element' => 'element',
),
);
bootstrap_hook_theme_complete($existing, $theme, $path . '/theme');
return $hooks;
}
Nothing works, what I am doing wrong? How do I override this *.func.php?