/** * {@inheritdoc} */ public function referencedEntities() { $referenced_entities = parent::referencedEntities(); if ($this->getCommentedEntityId()) { $referenced_entities[] = $this->getCommentedEntity(); } return $referenced_entities; }
/** * {@inheritdoc} */ public function referencedEntities() { $referenced_entities = parent::referencedEntities(); if ($this->getCommentedEntityId()) { $referenced_entities[] = $this->getCommentedEntity(); } return $referenced_entities; }