--- label: 'Disabling comments' related: - comment.overview - comment.configuring --- {% set comment_permissions_text %} {% trans %}Administer comments and comment settings{% endtrans %} {% endset %} {% set comment_permissions_link = render_var(help_route_link(comment_permissions_text, 'user.admin_permissions.module', {'modules': 'comment'})) %} {% set comment_config_topic = render_var(help_topic_link('comment.configuring')) %} {% set content_structure_topic = render_var(help_topic_link('core.content_structure')) %}
{% trans %}Turn off commenting for a particular entity (see {{ content_structure_topic }} for more about content entities and fields). Note that if you want to turn off commenting for all entities of an entity type or subtype, you will need to edit the field settings for the comment field; see {{ comment_config_topic }} for more about configuring the comment field.{% endtrans %}
{% trans %}You will need the {{ comment_permissions_link }} permission in order to disable commenting. You will also need permission to edit the entity that the comments are on.{% endtrans %}