Disabling comment titles for users in Drupal 8

One of the different settings you can adjust for your comments is the comment title, or the subject. By default, members are allowed to enter a title, or subject for their comment. If no subject title is entered, then one will be created by using the first 29 characters of the body of the comment. If you wish to make this the default setting, simply follow the instructions below.

How to disable comment titles in Drupal 8

  1. Log into your Drupal 8 admin interface.
  2. the configuration screen for the module

    Look to the top menu bar on the page and click on the Menu tab.

  3. the configuration screen for the module

    A second menu bar will appear. From there, click on the Structure option.

  4. the configuration screen for the module

    From the Structure screen, find and click on the Content Types.

  5. the configuration screen for the module

    The next screen is the list of content types currently in use on your site. Click on the Manage fields link on the dropdown to the far right of the row for the content type you want to adjust. In this case, we will be working with the Article type.

  6. the configuration screen for the module

    This is the Article Settings page. This lists the various fields that are in use for the Article content type. Click on the Edit link from the dropdown on the right for the Comment Settings row.

  7. the configuration screen for the module

    This is the Comment settings page. Look for the Comment Form Settings area and uncheck the checkbox entitled Allow comment title.

  8. Once the setting has been disabled, click on the Save settings button at the bottom to activate the change. Here you can see that when disabled, the member will not be given the choice of entering a custom subject or comment title when adding a comment.
    Before After
    menu list before the change

    menu list before the change

Thoughts on “Disabling comment titles for users in Drupal 8

  • from UI, you can disable “subject” fields just using, the “Manage Form Display” Tab in “Structure” => “Comment Type”.
    Anyway, this prevent to display subject fieald in the compilation form of the comment, but in display view, the field is still present (No Subject). :-(I’m fighting with this, but I think the only way is working on theme comment template πŸ™

  • The option no longer appears at that location.  Someone must have removed the option in one of the D8 updates.

    Is there another way to remove comment titles?

Leave a Reply