Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpac
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
mpac
Merge requests
!19
Issue
#3423497
- Clear module functions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3423497
- Clear module functions
issue/mpac-3423497:3423497-remove-deprecated-functions
into
8.x-1.x
Overview
0
Commits
1
Pipelines
1
Changes
5
Merged
Viktor Holovachek
requested to merge
issue/mpac-3423497:3423497-remove-deprecated-functions
into
8.x-1.x
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
5
Expand
Related to
#3423497
0
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (base)
and
latest version
latest version
5010cbba
1 commit,
1 year ago
5 files
+
8
−
37
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
src/MpacAutocompleteController.php
→
src/
Controller/
MpacAutocompleteController.php
+
5
−
4
Options
<?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
implem
en
t
s
Cont
ainerInjectionInterfac
e
{
class
MpacAutocompleteController
ext
en
d
s
Cont
rollerBas
e
{
/**
* 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