From 709aef530d32fb58425c591d98dac24f54e872fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=CC=81bor=20Hojtsy?= <gabor@hojtsy.hu> Date: Tue, 14 May 2019 15:27:26 +0200 Subject: [PATCH] Issue #3049753 by Balu Ertl, johndevman: Replace "@url" placeholder to ":url" in admin UI string --- core/modules/automated_cron/automated_cron.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/automated_cron/automated_cron.module b/core/modules/automated_cron/automated_cron.module index f45b19098e11..76faef169a7a 100644 --- a/core/modules/automated_cron/automated_cron.module +++ b/core/modules/automated_cron/automated_cron.module @@ -39,7 +39,7 @@ function automated_cron_form_system_cron_settings_alter(&$form, &$form_state) { $form['cron']['interval'] = [ '#type' => 'select', '#title' => t('Run cron every'), - '#description' => t('More information about setting up scheduled tasks can be found by <a href="@url">reading the cron tutorial on drupal.org</a>.', ['@url' => 'https://www.drupal.org/cron']), + '#description' => t('More information about setting up scheduled tasks can be found by <a href=":url">reading the cron tutorial on drupal.org</a>.', [':url' => 'https://www.drupal.org/cron']), '#default_value' => $automated_cron_settings->get('interval'), '#options' => [0 => t('Never')] + array_map([\Drupal::service('date.formatter'), 'formatInterval'], array_combine($options, $options)), ]; -- GitLab