Commit d134c025 authored by webchick's avatar webchick
Browse files

Issue #1882114 by damiankloip: Remove listing filters option from views settings.

parent 0343a2c8
......@@ -6,7 +6,6 @@ ui:
show:
additional_queries: '0'
advanced_column: '0'
listing_filters: '0'
master_display: '0'
performance_statistics: '0'
preview_information: '1'
......
......@@ -1832,12 +1832,6 @@ function views_ui_admin_settings_basic($form, &$form_state) {
// so this will make it easier to change if we do.
$form['basic'] = array();
$form['basic']['ui_show_listing_filters'] = array(
'#type' => 'checkbox',
'#title' => t('Show filters on the list of views'),
'#default_value' => $config->get('ui.show.listing_filters'),
);
$form['basic']['ui_show_master_display'] = array(
'#type' => 'checkbox',
'#title' => t('Always show the master display'),
......@@ -1929,7 +1923,6 @@ function views_ui_admin_settings_basic($form, &$form_state) {
*/
function views_ui_admin_settings_basic_submit(&$form, &$form_state) {
config('views.settings')
->set('ui.show.listing_filters', $form_state['values']['ui_show_listing_filters'])
->set('ui.show.master_display', $form_state['values']['ui_show_master_display'])
->set('ui.show.advanced_column', $form_state['values']['ui_show_advanced_column'])
->set('ui.show.display_embed', $form_state['values']['ui_show_display_embed'])
......
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