X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentInterface.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentInterface.php;h=55405629ce570b63bd657300a7146006ae7cb7db;hp=e80e5edfdcd1b83a58a98dd2390019d65f4cfefa;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/comment/src/CommentInterface.php b/web/core/modules/comment/src/CommentInterface.php index e80e5edfd..55405629c 100644 --- a/web/core/modules/comment/src/CommentInterface.php +++ b/web/core/modules/comment/src/CommentInterface.php @@ -56,8 +56,9 @@ interface CommentInterface extends ContentEntityInterface, EntityChangedInterfac /** * Returns the entity to which the comment is attached. * - * @return \Drupal\Core\Entity\FieldableEntityInterface - * The entity on which the comment is attached. + * @return \Drupal\Core\Entity\FieldableEntityInterface|null + * The entity on which the comment is attached or NULL if the comment is an + * orphan. */ public function getCommentedEntity();