Commit 43acec6e authored by webchick's avatar webchick

Issue #2072551 by legolasbo: Remove Unused local variable from /core/modules/file/file.field.inc.

parent d2457a61
......@@ -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'];
......
Markdown is supported
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