Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
languagefield
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
languagefield
Commits
2dbb17c8
Commit
2dbb17c8
authored
2 weeks ago
by
John Voskuilen
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3514956
: Introduce Hook classes (as per D11.1) - fix hook_tokens
parent
c0c18b61
No related branches found
No related tags found
No related merge requests found
Pipeline
#456335
passed with warnings
2 weeks ago
Stage: build
Stage: validate
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
languagefield.module
+1
-1
1 addition, 1 deletion
languagefield.module
with
1 addition
and
1 deletion
languagefield.module
+
1
−
1
View file @
2dbb17c8
...
...
@@ -44,7 +44,7 @@ function languagefield_token_info(): array {
*/
#[LegacyHook]
function
languagefield_tokens
(
$type
,
$tokens
,
array
$data
,
array
$options
,
BubbleableMetadata
$bubbleable_metadata
)
{
return
\Drupal
::
service
(
CustomLanguageHooks
::
class
)
->
tokens
(
$type
,
$tokens
,
$options
,
$bubbleable_metadata
);
return
\Drupal
::
service
(
CustomLanguageHooks
::
class
)
->
tokens
(
$type
,
$tokens
,
$data
,
$options
,
$bubbleable_metadata
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment