Skip to content
Snippets Groups Projects
Commit 2dbb17c8 authored by John Voskuilen's avatar John Voskuilen
Browse files

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
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment