The status report page shows the link in the message from this module with raw HTML.
Furthermore, the text isn't correctly created -- sentence text should not be split into t() calls:
'Some jobs are behind their schedule. Please check if @link is running properly.', array(
'@link' => \Drupal::l(t('Cron'), Url::fromRoute('system.cron', ['key' => \Drupal::state()->get('system.cron_key')])),
));
The A element should be within the original string, and the url inserted with a placeholder, not the link.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | raw-html-link-2910840-7.patch | 1.98 KB | id.aleks |
Comments
Comment #2
id.aleks commentedComment #3
id.aleks commentedChanged cron_jobs status description to markup.
Comment #5
id.aleks commentedUpdated patch.
Just one note, as for me the link should go to admin/config/system/cron/jobs. Right now it goes to "run cron from outside the site" page.
Comment #7
id.aleks commentedFixed CronJobInstallTest test =)
Comment #8
joachim commentedLooks good to me!
Comment #10
berdirCommitted.