private function getHeadline()
    {
        if ($this->model->getId()) {
            return $this->translateLabel('editRecord', [$this->model->getId()]);
        }
        return $this->translateLabel('newRecord');
    }
private function getHeadline()
    {
        if ($this->model->getId()) {
            return $this->translateLabel('editRecord', [$this->model->getId()]);
        }
        return $this->translateLabel('newRecord');
    }
private function getHeadline ( ) { if ( $ this -> model -> getId ( ) ) { return $ this -> translateLabel ( 'editRecord' , [ $ this -> model -> getId ( ) ] ) ; } return $ this -> translateLabel ( 'newRecord' ) ; }
Determine the headline to use.

@return string.
Determine the headline to use .