Commit 3e83ff97 authored by alexpott's avatar alexpott
Browse files

Issue #2002448 by theladebug, brandon_beeler: Rename Views method...

Issue #2002448 by theladebug, brandon_beeler: Rename Views method default_display_filters_user() to defaultDisplayFiltersUser().
parent 7b3a9a93
...@@ -165,10 +165,10 @@ protected function defaultDisplayOptions() { ...@@ -165,10 +165,10 @@ protected function defaultDisplayOptions() {
} }
/** /**
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_filters_user(). * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayFiltersUser().
*/ */
protected function default_display_filters_user(array $form, array &$form_state) { protected function defaultDisplayFiltersUser(array $form, array &$form_state) {
$filters = parent::default_display_filters_user($form, $form_state); $filters = parent::defaultDisplayFiltersUser($form, $form_state);
if (!empty($form_state['values']['show']['tagged_with']['tids'])) { if (!empty($form_state['values']['show']['tagged_with']['tids'])) {
$filters['tid'] = array( $filters['tid'] = array(
......
...@@ -805,7 +805,7 @@ protected function default_display_filters($form, $form_state) { ...@@ -805,7 +805,7 @@ protected function default_display_filters($form, $form_state) {
} }
// Add any filters specified by the user when filling out the wizard. // Add any filters specified by the user when filling out the wizard.
$filters = array_merge($filters, $this->default_display_filters_user($form, $form_state)); $filters = array_merge($filters, $this->defaultDisplayFiltersUser($form, $form_state));
return $filters; return $filters;
} }
...@@ -822,7 +822,7 @@ protected function default_display_filters($form, $form_state) { ...@@ -822,7 +822,7 @@ protected function default_display_filters($form, $form_state) {
* An array of filter arrays keyed by ID. A sort array contains the options * An array of filter arrays keyed by ID. A sort array contains the options
* accepted by a filter handler. * accepted by a filter handler.
*/ */
protected function default_display_filters_user(array $form, array &$form_state) { protected function defaultDisplayFiltersUser(array $form, array &$form_state) {
$filters = array(); $filters = array();
if (!empty($form_state['values']['show']['type']) && $form_state['values']['show']['type'] != 'all') { if (!empty($form_state['values']['show']['type']) && $form_state['values']['show']['type'] != 'all') {
......
Supports Markdown
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