Search for getCommentedEntityId

  1. Search 7.x for getCommentedEntityId
  2. Search 9.5.x for getCommentedEntityId
  3. Search 10.3.x for getCommentedEntityId
  4. Search 11.x for getCommentedEntityId
  5. Other projects
Title Object type File name Summary
Comment::getCommentedEntityId function core/modules/comment/src/Entity/Comment.php Returns the ID of the entity to which the comment is attached.
CommentInterface::getCommentedEntityId function core/modules/comment/src/CommentInterface.php Returns the ID of the entity to which the comment is attached.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.