/** * View helper check if given value is array or not * * @param int $uid PID * @return string Page Name */ public function render($uid = 0) { return $this->pageRepository->getPageNameFromUid($uid); }