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
43acec6e
Commit
43acec6e
authored
Aug 29, 2013
by
webchick
Browse files
Issue
#2072551
by legolasbo: Remove Unused local variable from /core/modules/file/file.field.inc.
parent
d2457a61
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
View file @
43acec6e
...
...
@@ -90,7 +90,6 @@ public function __construct(array $configuration, $plugin_id, array $plugin_defi
public
function
init
(
ViewExecutable
$view
,
DisplayPluginBase
$display
,
array
&
$options
=
NULL
)
{
parent
::
init
(
$view
,
$display
,
$options
);
$display_id
=
$this
->
view
->
current_display
;
// Check to see if this handler type is defaulted. Note that
// we have to do a lookup because the type is singular but the
// option is stored as the plural.
...
...
@@ -108,9 +107,6 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
if
(
isset
(
$types
[
$plural
][
'plural'
]))
{
$plural
=
$types
[
$plural
][
'plural'
];
}
if
(
$this
->
view
->
display_handler
->
isDefaulted
(
$plural
))
{
$display_id
=
'default'
;
}
$this
->
unpackOptions
(
$this
->
options
,
$options
);
...
...
@@ -331,7 +327,6 @@ public function usesGroupBy() {
*/
public
function
buildGroupByForm
(
&
$form
,
&
$form_state
)
{
$display_id
=
$form_state
[
'display_id'
];
$types
=
ViewExecutable
::
viewsHandlerTypes
();
$type
=
$form_state
[
'type'
];
$id
=
$form_state
[
'id'
];
...
...
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