summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2015-10-05 00:41:41 (GMT)
committerxjm2015-10-05 00:41:41 (GMT)
commitd1e4b70c6b4a09d558b735c57c2b19987f84c7f9 (patch)
treebaffb0533ffb5edf8cc3695365f50315d80f1550
parentdb0ece005321a300ef2128853114d95e08261d60 (diff)
Issue #2572525 by mdoedens, ifrik, jhodgdon: Update the hook_help for the comment module again
-rw-r--r--core/modules/comment/comment.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module
index d72772f..f96a5b9 100644
--- a/core/modules/comment/comment.module
+++ b/core/modules/comment/comment.module
@@ -74,6 +74,8 @@ function comment_help($route_name, RouteMatchInterface $route_match) {
$output .= '<dd>' . t('Commenting settings can be configured by editing the <em>Comments</em> field on the <em>Manage fields page</em> of an entity type if the <em>Field UI module</em> is enabled. Configuration includes the label of the comments field, the number of comments to be displayed, and whether they are shown in threaded list. Commenting can be be configured as: <em>Open</em> to allow new comments, <em>Closed</em> to view existing comments, but prevent new comments, or <em>Hidden</em> to hide existing comments and prevent new comments. Changing this configuration for an entity type will not change existing entity items.') . '</dd>';
$output .= '<dt>' . t('Overriding default settings') . '</dt>';
$output .= '<dd>' . t('Users with the appropriate permissions can override the default commenting settings of an entity type when they create an item of that type.') . '</dd>';
+ $output .= '<dt>' . t('Adding comment types') . '</dt>';
+ $output .= '<dd>' . t('Additional <em>comment types</em> can be created per entity sub-type and added on the <a href=":field">Comment types page</a>. If there are multiple comment types available you can select the appropriate one after adding a <em>Comments field</em>.', array(':field' => \Drupal::url('entity.comment_type.collection'))) . '</dd>';
$output .= '<dt>' . t('Approving and managing comments') . '</dt>';
$output .= '<dd>' . t('Comments from users who have the <em>Skip comment approval</em> permission are published immediately. All other comments are placed in the <a href=":comment-approval">Unapproved comments</a> queue, until a user who has permission to <em>Administer comments and comment settings</em> publishes or deletes them. Published comments can be bulk managed on the <a href=":admin-comment">Published comments</a> administration page. When a comment has no replies, it remains editable by its author, as long as the author has <em>Edit own comments</em> permission.', array(':comment-approval' => \Drupal::url('comment.admin_approval'), ':admin-comment' => \Drupal::url('comment.admin'))) . '</dd>';
$output .= '</dl>';