Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
b976fd2c
Commit
b976fd2c
authored
Jun 23, 2020
by
xjm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3138788
by jungle, sja112, xjm: Fix "autcomplete" typos in core
parent
fb33384d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
...es/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
+2
-2
No files found.
core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
View file @
b976fd2c
...
...
@@ -78,11 +78,11 @@ public function onRequest(RequestEvent $event) {
*/
public
function
onView
(
RequestEvent
$event
)
{
$current_route
=
$this
->
currentRouteMatch
->
getRouteName
();
$entity_autcomplete_route
=
[
$entity_aut
o
complete_route
=
[
'system.entity_autocomplete'
,
];
if
(
in_array
(
$current_route
,
$entity_autcomplete_route
))
{
if
(
in_array
(
$current_route
,
$entity_aut
o
complete_route
))
{
if
(
$this
->
container
->
initialized
(
'theme.registry'
))
{
throw
new
\
Exception
(
'registry initialized'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment