- Issue created by @bogdan.racz
In the scheduler_content_moderation_integration_tokens() the code assumes the $options['language'] has a language property. In case it has not, a warning will be triggered.
Use the same approach as on the scheduler module.
e.g.
$language_code = $options['langcode'] ?? NULL;
In the core, I see the same langcode from options is used.
e.g. node_tokens
Active
3.0
Code