/** * {@inheritdoc} */ public function getAuthor() { return $this->translation->hasField('content_translation_uid') ? $this->translation->get('content_translation_uid')->entity : $this->translation->getOwner(); }