Commit 21293265 authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

Issue #3321896: Possible useless method overriding detected.

parent e2f907b3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Session\AccountInterface;

/**
+1 −1
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ class BestBetsProcessor extends ProcessorPluginBase implements PluginFormInterfa
            $entity_storage = $this->entityTypeManager->getStorage($entity_type);
            $source_entity = $entity_storage->load($id);

            // Get correct translation of the source entity
            // Get correct translation of the source entity.
            $entity = $this->entityRepository->getTranslationFromContext($source_entity);

            // Check access.
+3 −1
Original line number Diff line number Diff line
@@ -118,8 +118,10 @@ class Solr extends QueryHandlerPluginBase implements QueryHandlerPluginInterface
    }
  }

  /**
   * {@inheritdoc}
   */
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
    parent::submitConfigurationForm($form, $form_state);
  }

}