Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
4f3bed69
Commit
4f3bed69
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002372
by theladebug, baldwinlouie: Rename Views method build_filters() to buildFilters().
parent
547031cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
...modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
+3
-3
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
...lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
+2
-2
No files found.
core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
View file @
4f3bed69
...
...
@@ -242,12 +242,12 @@ protected function display_options_row(&$display_options, $row_plugin, $row_opt
}
/**
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::build
_f
ilters().
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::build
F
ilters().
*
* Add some options for filter by taxonomy terms.
*/
protected
function
build
_f
ilters
(
&
$form
,
&
$form_state
)
{
parent
::
build
_f
ilters
(
$form
,
$form_state
);
protected
function
build
F
ilters
(
&
$form
,
&
$form_state
)
{
parent
::
build
F
ilters
(
$form
,
$form_state
);
$selected_bundle
=
static
::
getSelected
(
$form_state
,
array
(
'show'
,
'type'
),
'all'
,
$form
[
'displays'
][
'show'
][
'type'
]);
...
...
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
View file @
4f3bed69
...
...
@@ -206,7 +206,7 @@ function build_form(array $form, array &$form_state) {
$path_prefix
=
url
(
NULL
,
array
(
'absolute'
=>
TRUE
));
// Add filters and sorts which apply to the view as a whole.
$this
->
build
_f
ilters
(
$form
,
$form_state
);
$this
->
build
F
ilters
(
$form
,
$form_state
);
$this
->
build_sorts
(
$form
,
$form_state
);
$form
[
'displays'
][
'page'
]
=
array
(
...
...
@@ -554,7 +554,7 @@ protected function rowStyleOptions() {
* By default, this adds "of type" and "tagged with" filters (when they are
* available).
*/
protected
function
build
_f
ilters
(
&
$form
,
&
$form_state
)
{
protected
function
build
F
ilters
(
&
$form
,
&
$form_state
)
{
module_load_include
(
'inc'
,
'views_ui'
,
'admin'
);
$bundles
=
entity_get_bundles
(
$this
->
entity_type
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment