Add support for mentions in comment fields

Created on 2 August 2025, about 1 month ago

Currently, when a mention is added in a comment, the following error is thrown:

Error: Call to undefined method Drupal\comment\Entity\Comment::getTitle() in ckeditor_mentions_notifications_tokens() (line 121 of modules/contrib/ckeditor_mentions_notifications/ckeditor_mentions_notifications.module).

It seems the module assumes all entities have a getTitle() method, which is not the case for comment entities. It would be great to add support for mentions in comments and handle them properly to avoid this error.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇵🇹Portugal introfini

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024