diff --git a/src/Form/CustomerrorSettingsForm.php b/src/Form/CustomerrorSettingsForm.php index 41f46405cc58807db5551126f3b4e62a85c3553a..8950a380e280e19ded38569ed2533063f99cfd10 100644 --- a/src/Form/CustomerrorSettingsForm.php +++ b/src/Form/CustomerrorSettingsForm.php @@ -80,7 +80,7 @@ class CustomerrorSettingsForm extends ConfigFormBase { ]; foreach ($errors as $code => $desc) { if (\Drupal::config('system.site')->get("page.$code") != "/customerror/{$code}") { - drupal_set_message($this->t('Error reporting is not set for error @error. Please ensure that the default @error page is set to be /customerror/@error on the @link.', ['@error' => $code, '@link' => Link::createFromRoute($this->t('Site information settings page'), 'system.site_information_settings')->toString()]), 'error', FALSE); + drupal_set_message($this->t('Custom error is not configured for @error errors. Please ensure that the default @error page is set to be /customerror/@error on the @link.', ['@error' => $code, '@link' => Link::createFromRoute($this->t('Site information settings page'), 'system.site_information_settings')->toString()]), 'error', FALSE); } } foreach ($errors as $code => $desc) {