--- label: 'Creating a comment type' related: - field_ui.add_field - field_ui.manage_display - field_ui.manage_form - comment.overview - comment.configuring --- {% set comment_types_link_text %} {% trans %}Comment types{% endtrans %} {% endset %} {% set comment_types_link = render_var(help_route_link(comment_types_link_text, 'entity.comment_type.collection')) %} {% set comment_permissions_link_text %} {% trans %}Administer comment types and settings{% endtrans %} {% endset %} {% set comment_permissions_link = render_var(help_route_link(comment_permissions_link_text, 'user.admin_permissions.module', {'modules': 'comment'})) %} {% set comment_overview_topic = render_var(help_topic_link('comment.overview')) %} {% set content_structure_topic = render_var(help_topic_link('core.content_structure')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Create a new comment type. See {{ comment_overview_topic }} for information about comments and comment types.{% endtrans %}

{% trans %}Who can create a comment type?{% endtrans %}

{% trans %}Users with the {{ comment_permissions_link }} permission (typically administrators) can create comment types.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Structure > {{ comment_types_link }}.{% endtrans %}
  2. {% trans %}Click Add comment type.{% endtrans %}
  3. {% trans %}In the Label field, enter a name for the comment type, which is how it will be listed in the administrative interface.{% endtrans %}
  4. {% trans %}In the Target entity type field, select the entity type to be commented on. See {{ content_structure_topic }} for more about content entities and fields.{% endtrans %}
  5. {% trans %}Click Save. The comment type will be created.{% endtrans %}
  6. {% trans %}Optionally, if you have the core Field UI module installed you can follow the steps in the related topics to add fields to the new comment type, set up the editing form, and configure the display.{% endtrans %}