Skip to content
Snippets Groups Projects
Commit 709aef53 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #3049753 by Balu Ertl, johndevman: Replace "@url" placeholder to ":url" in admin UI string

parent d0f0aba8
No related branches found
No related tags found
No related merge requests found
......@@ -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)),
];
......
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