Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
6c765be3
Commit
6c765be3
authored
May 29, 2013
by
alexpott
Browse files
Issue
#2002452
by hoZt: Rename Views method default_display_sorts() to defaultDisplaySorts().
parent
4f3bed69
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
View file @
6c765be3
...
@@ -657,7 +657,7 @@ protected function build_display_options($form, $form_state) {
...
@@ -657,7 +657,7 @@ protected function build_display_options($form, $form_state) {
'sorts'
=>
array
(),
'sorts'
=>
array
(),
);
);
$display_options
[
'default'
][
'filters'
]
+=
$this
->
default_display_filters
(
$form
,
$form_state
);
$display_options
[
'default'
][
'filters'
]
+=
$this
->
default_display_filters
(
$form
,
$form_state
);
$display_options
[
'default'
][
'sorts'
]
+=
$this
->
default
_d
isplay
_s
orts
(
$form
,
$form_state
);
$display_options
[
'default'
][
'sorts'
]
+=
$this
->
default
D
isplay
S
orts
(
$form
,
$form_state
);
// Display: Page
// Display: Page
if
(
!
empty
(
$form_state
[
'values'
][
'page'
][
'create'
]))
{
if
(
!
empty
(
$form_state
[
'values'
][
'page'
][
'create'
]))
{
...
@@ -881,7 +881,7 @@ protected function default_display_filters_user(array $form, array &$form_state)
...
@@ -881,7 +881,7 @@ protected function default_display_filters_user(array $form, array &$form_state)
* An array of sort arrays keyed by ID. A sort array contains the options
* An array of sort arrays keyed by ID. A sort array contains the options
* accepted by a sort handler.
* accepted by a sort handler.
*/
*/
protected
function
default
_d
isplay
_s
orts
(
$form
,
$form_state
)
{
protected
function
default
D
isplay
S
orts
(
$form
,
$form_state
)
{
$sorts
=
array
();
$sorts
=
array
();
// Add any sorts provided by the plugin.
// Add any sorts provided by the plugin.
...
...
Write
Preview
Supports
Markdown
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