You are here

function global_filter_theme_registry_alter in Views Global Filter 8

Same name and namespace in other branches
  1. 7 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 607
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');
}