function _views_fieldsets_types in Views fieldsets 7.2
Find all eligible fieldset theme hooks.
1 call to _views_fieldsets_types()
- views_fieldsets_fieldset_field_handler::options_form in views/
views_fieldsets_fieldset_field_handler.inc - Default options form provides the label widget that all fields should have.
File
- ./
views_fieldsets.module, line 71 - Hooks, helpers and theming for the Views Fieldsets module.
Code
function _views_fieldsets_types() {
$registry = theme_get_registry();
$types = array();
foreach ($registry as $hook => $info) {
if (strpos($hook, 'views_fieldsets_') === 0 && isset($info['views_fieldsets_label'])) {
$types[substr($hook, 16)] = $info['views_fieldsets_label'];
}
}
return $types;
}