I want to add comments to user profiles. I added the comments in user profile under Configuration > People > Account settings, but when I add the field, the option to select the comment type is showing empty. What is the correct way to allow other users to give comments on user profiles?
Each Comment Type can only be applied to one type of entity (nodes (content), users, and taxonomy terms are examples of different types of entities).
By default, Drupal core only provides a comment type for nodes.
So, to add comments on users, you will need to create a user comment type.
- Go to
- Select Add comment type.
- Add a Label such as User comments.
- For Target entity type, select Users.
- For the comments field at
/admin/config/people/accounts/fields, select your new user comment type.