Skip to content
Snippets Groups Projects
Commit 43acec6e authored by Angie Byron's avatar Angie Byron
Browse files

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

parent d2457a61
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment