/** * Get the title field name. * @return string */ public function getTitleField() { return !$this->title ?: $this->title->getName(); }