Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
leaflet
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
leaflet
Merge requests
!38
Issue
#3447061
: Token in map icon field does not work in the HTML default formatter
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3447061
: Token in map icon field does not work in the HTML default formatter
issue/leaflet-3447061:3447061-token-in-map
into
10.2.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Bohdan Mykhalchuk
requested to merge
issue/leaflet-3447061:3447061-token-in-map
into
10.2.x
11 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3447061
0
0
Merge request reports
Compare
10.2.x
version 1
9a51b1f4
11 months ago
10.2.x (base)
and
latest version
latest version
9a51b1f4
1 commit,
11 months ago
version 1
9a51b1f4
1 commit,
11 months ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/Field/FieldFormatter/LeafletDefaultFormatter.php
+
1
−
1
Options
@@ -400,7 +400,7 @@ class LeafletDefaultFormatter extends FormatterBase implements ContainerFactoryP
switch
(
$icon_type
)
{
case
'html'
:
$feature
[
'icon'
][
'html'
]
=
$this
->
token
->
replace
(
$settings
[
'icon'
][
'html'
],
$tokens
);
$feature
[
'icon'
][
'html'
]
=
$this
->
token
->
replace
(
$settings
[
'icon'
][
'html'
],
$tokens
,
[
'clear'
=>
TRUE
]
);
$feature
[
'icon'
][
'html_class'
]
=
$settings
[
'icon'
][
'html_class'
]
??
''
;
break
;
Loading