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

#210335 by keith.smith: highly confusing example in trigger module help, use a better one instead

parent ff1c3902
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -16,7 +16,7 @@ function trigger_help($path, $arg) { ...@@ -16,7 +16,7 @@ function trigger_help($path, $arg) {
case 'admin/build/trigger/comment': case 'admin/build/trigger/comment':
return $explanation .'<p>'. t('Below you can assign actions to run when certain comment-related triggers happen. For example, you could promote a post to the front page when a comment is added.') .'</p>'; return $explanation .'<p>'. t('Below you can assign actions to run when certain comment-related triggers happen. For example, you could promote a post to the front page when a comment is added.') .'</p>';
case 'admin/build/trigger/node': case 'admin/build/trigger/node':
return $explanation .'<p>'. t('Below you can assign actions to run when certain content-related triggers happen. For example, you could remove a post from the front page when the post is updated.') .'</p>'; return $explanation .'<p>'. t('Below you can assign actions to run when certain content-related triggers happen. For example, you could send an e-mail to an administrator when a post is created or updated.') .'</p>';
case 'admin/build/trigger/cron': case 'admin/build/trigger/cron':
return $explanation .'<p>'. t('Below you can assign actions to run during each pass of a <a href="@cron">cron maintenance task</a>.', array('@cron' => url('admin/reports/status'))) .'</p>'; return $explanation .'<p>'. t('Below you can assign actions to run during each pass of a <a href="@cron">cron maintenance task</a>.', array('@cron' => url('admin/reports/status'))) .'</p>';
case 'admin/build/trigger/taxonomy': case 'admin/build/trigger/taxonomy':
......
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