Skip to content
Snippets Groups Projects
Commit cc35b24f authored by Martin Anderson-Clutz's avatar Martin Anderson-Clutz
Browse files

Issue #3215676 by mandclu: 404 link on help page ("online documentation for...

Issue #3215676 by mandclu: 404 link on help page ("online documentation for the Datetime Range module")
parent 7d04a3b6
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ function smart_date_recur_help($route_name, RouteMatchInterface $route_match) {
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Smart Date Recur module adds recurring date functionality to Smart Date fields. For more information, see the <a href=":datetime_do">online documentation for the Smart Date module</a>.', [
':datetime_do' => 'https://www.drupal.org/documentation/modules/smart_date',
':datetime_do' => 'https://www.drupal.org/docs/contributed-modules/smart-date',
]) . '</p>';
return $output;
}
......
......@@ -25,10 +25,10 @@ function smart_date_help($route_name, RouteMatchInterface $route_match) {
}
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Smart Date module provides a Date field that stores start dates and times, as well as end dates and times. See the <a href=":field">Field module help</a> and the <a href=":field_ui">Field UI module help</a> pages for general information on fields and how to create and manage them. For more information, see the <a href=":datetime_do">online documentation for the Datetime Range module</a>.', [
$output .= '<p>' . t('The Smart Date module provides a Date field that stores start dates and times, as well as end dates and times. See the <a href=":field">Field module help</a> and the <a href=":field_ui">Field UI module help</a> pages for general information on fields and how to create and manage them. For more information, see the <a href=":datetime_do">online documentation for the Smart Date module</a>.', [
':field' => Url::fromRoute('help.page', ['name' => 'field'])->toString(),
':field_ui' => $field_ui_link,
':datetime_do' => 'https://www.drupal.org/documentation/modules/smart_date',
':datetime_do' => 'https://www.drupal.org/docs/contributed-modules/smart-date',
]) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
......
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