Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
drupal
Merge requests
!7759
Replace use of whitelist/blacklist in the path alias module
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Replace use of whitelist/blacklist in the path alias module
issue/drupal-3151086:3151086-replace-use-of
into
11.x
Overview
3
Commits
8
Pipelines
9
Changes
11
Closed
quietone
requested to merge
issue/drupal-3151086:3151086-replace-use-of
into
11.x
1 year ago
Overview
3
Commits
8
Pipelines
9
Changes
11
Expand
Closes
#3151086
0
0
Merge request reports
Compare
11.x
version 8
9d3e0d67
8 months ago
version 7
261719b6
8 months ago
version 6
6aceabac
9 months ago
version 5
ec513ed1
9 months ago
version 4
7de2ecae
9 months ago
version 3
7025e75e
9 months ago
version 2
c7302264
1 year ago
version 1
a6b5f8e2
1 year ago
11.x (base)
and
latest version
latest version
ff4ec732
8 commits,
8 months ago
version 8
9d3e0d67
7 commits,
8 months ago
version 7
261719b6
6 commits,
8 months ago
version 6
6aceabac
5 commits,
9 months ago
version 5
ec513ed1
4 commits,
9 months ago
version 4
7de2ecae
3 commits,
9 months ago
version 3
7025e75e
2 commits,
9 months ago
version 2
c7302264
2 commits,
1 year ago
version 1
a6b5f8e2
1 commit,
1 year ago
11 files
+
270
−
221
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
core/modules/path/tests/src/Functional/PathAliasTest.php
+
3
−
3
Options
@@ -67,9 +67,9 @@ public function testPathCache(): void {
$this
->
submitForm
(
$edit
,
'Save'
);
// Check the path alias whitelist cache.
$
white
list
=
\Drupal
::
cache
(
'bootstrap'
)
->
get
(
'path_alias_
white
list'
);
$this
->
assertTrue
(
$
white
list
->
data
[
'node'
]);
$this
->
assertFalse
(
$
white
list
->
data
[
'admin'
]);
$
prefix_
list
=
\Drupal
::
cache
(
'bootstrap'
)
->
get
(
'path_alias_
prefix_
list'
);
$this
->
assertTrue
(
$
prefix_
list
->
data
[
'node'
]);
$this
->
assertFalse
(
$
prefix_
list
->
data
[
'admin'
]);
// Visit the system path for the node and confirm a cache entry is
// created.
Loading