Drupal ships with just one comment type enabled, with the machine name comment
. But if the Forum module is installed, there is also comment_forum
. And site builders can define new comment types in the GUI.
How do I get a list the comment types' machine name? Or: How can I get all comments, regardless of name.