+ '#title' => $this->t('Disable cron processing and queueing'),
+ '#description' => $this->t('Check this box if you will be queueing and processing links via Drush or some other method. <strong>Enabling this will completely disable automatic link queueing and processing.</strong>'),
+ ];
$form['error'] = [
'#type' => 'details',
@@ -364,11 +375,12 @@ class LinkCheckerAdminSettingsForm extends ConfigFormBase {
'#description' => $this->t('Defines error handling and custom actions to be executed if specific HTTP requests are failing.'),
- '#description' => $this->t('If below error handling actions are executed they can be impersonated with a custom user account. By default this is user %name, but you are able to assign a custom user to allow easier identification of these automatic revision updates. Make sure you select a user with <em>full</em> permissions on your site or the user may not able to access and save all content.', ['%name' => $linkchecker_default_impersonate_account->getAccountName()]),
+ '#description' => $this->t('If below error handling actions are executed they can be impersonated with a custom user account. By default this is user %name, but you are able to assign a custom user to allow easier identification of these automatic revision updates. Make sure you select a user with <em>full</em> permissions on your site or the user may not able to access and save all content.', ['%name' => $linkchecker_default_impersonate_account?->getAccountName() ?? '[UID 1 not found]']),
'#size' => 30,
'#maxlength' => 60,
'#autocomplete_path' => 'user/autocomplete',
@@ -388,7 +400,7 @@ class LinkCheckerAdminSettingsForm extends ConfigFormBase {
],
];
if ($this->moduleHandler->moduleExists('dblog') && $this->currentUser->hasPermission('access site reports')) {
- $form['error']['#description'] = $this->t('If enabled, outdated links in content providing a status
+ $form['error']['#description'] = $this->t('If enabled, outdated links in content providing a status
<em>Moved Permanently</em> (status code 301) are automatically updated to the most recent URL. If used,
it is recommended to use a value of <em>three</em> to make sure this is not only a temporarily change.
This feature trust sites to provide a valid permanent redirect.
@@ -506,6 +518,7 @@ class LinkCheckerAdminSettingsForm extends ConfigFormBase {