function global_filter_theme_registry_alter in Views Global Filter 7
Same name and namespace in other branches
- 8 global_filter.widgets.inc \global_filter_theme_registry_alter()
Implements hook_theme_registry_alter().
Override theme_options_none (options.module) to make the '- None -' text configurable for buttons and select lists, but only for Global Filter widgets, see function global_filter_options_none() below.
File
- ./
global_filter.widgets.inc, line 621 - global_filter.widgets.inc
Code
function global_filter_theme_registry_alter(&$theme_registry) {
$theme_registry['options_none']['function'] = 'global_filter_options_none';
$theme_registry['options_none']['theme_path'] = drupal_get_path('module', 'global_filter');
}