Commit 40e1a533 authored by dawehner's avatar dawehner Committed by tim.plunkett

Issue #1779050 by dawehner: Fixed Replace views_exposed_filter_any_label()...

Issue #1779050 by dawehner: Fixed Replace views_exposed_filter_any_label() with views.settings.ui.exposed_filter_any_label().
parent 1e9804a9
......@@ -3519,7 +3519,7 @@ function theme_views_ui_build_group_filter_form($variables) {
drupal_render($form['default_group']['All']),
'',
array(
'data' => variable_get('views_exposed_filter_any_label', 'new_any') == 'old_any' ? t('<Any>') : t('- Any -'),
'data' => config('views.settings')->get('ui.exposed_filter_any_label') == 'old_any' ? t('<Any>') : t('- Any -'),
'colspan' => 4,
'class' => array('class' => 'any-default-radios-row'),
),
......
......@@ -707,7 +707,7 @@ function group_form(&$form, &$form_state) {
if (!empty($this->options['group_info']['optional']) && !$this->multipleExposedInput()) {
$old_any = $this->options['group_info']['widget'] == 'select' ? '<Any>' : '&lt;Any&gt;';
$any_label = variable_get('views_exposed_filter_any_label', 'new_any') == 'old_any' ? $old_any : t('- Any -');
$any_label = config('views.settings')->get('ui.exposed_filter_any_label') == 'old_any' ? $old_any : t('- Any -');
$groups = array('All' => $any_label);
}
foreach ($this->options['group_info']['group_items'] as $id => $group) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment