Site Building
Topic

Comments for Drupal 7, 8, 9, 10, and 11

Comments are a content entity type that allows users to leave commentary associated with a specific piece of content. You can configure which kinds of content do, or do not, have comments enabled, and who has permission to write and read comments. You can configure multiple comment types (entity bundles), and add custom fields to each comment type.

Drupal has a built in back end listing where you can manage comments left on the site, which includes basic review and moderation tools. A wide variety of contributed modules extend Drupal’s core comment moderation tools.

Example tasks

  • Configure whether comments display or not on a content type
  • Control who has access to leave comments
  • Manage and moderate incoming comments
  • Configure other content entities to allow commenting

Confidence

Comments are a stable core feature.

Drupalize.Me resources

Drupal 7, 8, 9, 10, and 11
More information

Entities are the fundamental building blocks that make up any Drupal site. Having a good understanding of the Entity system is an important part of ensuring the data model of your Drupal site is set up properly.

More information

Fields are the building blocks of Drupal's powerful content modeling system. The Field API allows for the development of custom field types to suit almost any data display and collection needs.

See the external resources section below for information about administrating comments and comment types in the current version of Drupal.

Drupal 7

This video explains the major kinds of content in Drupal, including comments, and shows the core tools used to manage them.

More information

This lesson offers a tour of some of the most basic tools for content management in Drupal. We're going to walk through and explain the following pieces:

  • Content
  • Comments
  • Navigation
  • Blocks

Additional resources

Using Drupal, 2nd edition

Drupalize.Me Guide: Using Drupal Book by O'Reilly Media

Guides

Not sure where to start? Our guides provide useful learning tracks for all skill levels.

Navigate guides

External resources

  • Comment module (Drupal.org)
    • The Comment module allows users to comment on site content, set commenting defaults and permissions, create new comment types that can be attached to other content entities, and moderate comments. Learn how to do all of these comment and comment type administrative tasks in this community guide.
  • Working with Comments in Drupal 8 (inmotionhosting.com)
    • This is a series of short tutorials that show the most common tasks you will do with comments.
  • Comment settings are now a field. Comments allowed on any entity type. (Drupal.org)
    • Lists major differences between Drupal 7 and 8 comments. Provides information about configurable comment types, and adding commenting to non-node entities.