Skip to content
Snippets Groups Projects

Issue #3423497 - Clear module functions

5 files
+ 8
37
Compare changes
  • Side-by-side
  • Inline
Files
5
<?php
namespace Drupal\mpac;
namespace Drupal\mpac\Controller;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\mpac\MpacAutocomplete;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
@@ -10,7 +11,7 @@ use Symfony\Component\HttpFoundation\Request;
/**
* Controller routines for mpax autocomplete routes.
*/
class MpacAutocompleteController implements ContainerInjectionInterface {
class MpacAutocompleteController extends ControllerBase {
/**
* The mpac autocomplete helper class to find matching items.
@@ -30,7 +31,7 @@ class MpacAutocompleteController implements ContainerInjectionInterface {
}
/**
* Implements \Drupal\Core\ControllerInterface::create().
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static(
Loading