Loading search_api_best_bets.module +0 −1 Original line number Diff line number Diff line Loading @@ -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; /** Loading src/Plugin/search_api/processor/BestBetsProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -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. Loading src/Plugin/search_api_best_bets/query_handler/Solr.php +3 −1 Original line number Diff line number Diff line Loading @@ -118,8 +118,10 @@ class Solr extends QueryHandlerPluginBase implements QueryHandlerPluginInterface } } /** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); } } Loading
search_api_best_bets.module +0 −1 Original line number Diff line number Diff line Loading @@ -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; /** Loading
src/Plugin/search_api/processor/BestBetsProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -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. Loading
src/Plugin/search_api_best_bets/query_handler/Solr.php +3 −1 Original line number Diff line number Diff line Loading @@ -118,8 +118,10 @@ class Solr extends QueryHandlerPluginBase implements QueryHandlerPluginInterface } } /** * {@inheritdoc} */ public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { parent::submitConfigurationForm($form, $form_state); } }