Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
465924fc
Commit
465924fc
authored
Jan 07, 2013
by
Nathaniel Catchpole
Browse files
Issue
#1875870
by dawehner: Cleanup WizardPluginBase::build_sorts().
parent
43658a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
View file @
465924fc
...
...
@@ -601,12 +601,6 @@ protected function build_sorts(&$form, &$form_state) {
$sorts
+=
$available_sorts
;
}
foreach
(
$sorts
as
&
$option
)
{
if
(
is_object
(
$option
))
{
$option
=
$option
->
get
();
}
}
// If there is no sorts option available continue.
if
(
!
empty
(
$sorts
))
{
$form
[
'displays'
][
'show'
][
'sort'
]
=
array
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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