Skip to content
Snippets Groups Projects
Commit 07467f37 authored by Nate Millin's avatar Nate Millin Committed by Mark Fullmer
Browse files

Issue #3321297 by nmillin, mark_fullmer: Use the ModuleHandlerInterface...

Issue #3321297 by nmillin, mark_fullmer: Use the ModuleHandlerInterface instead of the ModuleHandler concrete implementation
parent c4cf17c7
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
namespace Drupal\google_cse;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Language\LanguageManager;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Render\Renderer;
......@@ -76,12 +76,12 @@ class GoogleCSEServices implements ContainerFactoryPluginInterface {
* Langauge manager service object.
* @param \Drupal\Core\Render\Renderer $renderer
* Renderer service object.
* @param \Drupal\Core\Extension\ModuleHandler $moduleHandler
* @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler
* ModuleHandler service object.
* @param \Drupal\Core\Pager\PagerManagerInterface $pagerManager
* PagerManger service object.
*/
public function __construct(RequestStack $requestStack, ConfigFactoryInterface $configFactory, LanguageManager $languageManager, Renderer $renderer, ModuleHandler $moduleHandler, PagerManagerInterface $pagerManager) {
public function __construct(RequestStack $requestStack, ConfigFactoryInterface $configFactory, LanguageManager $languageManager, Renderer $renderer, ModuleHandlerInterface $moduleHandler, PagerManagerInterface $pagerManager) {
$this->requestStack = $requestStack;
$this->CSEconfig = $configFactory->get('search.page.google_cse_search');
$this->languageManager = $languageManager;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment