public function getTitle() { if (!empty($this->title)) { return $this->title; } return $this->pluginName; }