src/Buttons/EmailSharingButton.php
public function getMessage()
    {
        if ($this->EmailMessage) {
            return sprintf('%s %s', rtrim($this->EmailMessage), $this->getCurrentPageLink());
        }
        
        return $this->getCurrentPageLink();
    }
public function getMessage()
    {
        if ($this->EmailMessage) {
            return sprintf('%s %s', rtrim($this->EmailMessage), $this->getCurrentPageLink());
        }
        
        return $this->getCurrentPageLink();
    }
public function getMessage ( ) { if ( $ this -> EmailMessage ) { return sprintf ( '%s %s' , rtrim ( $ this -> EmailMessage ) , $ this -> getCurrentPageLink ( ) ) ; } return $ this -> getCurrentPageLink ( ) ; }
Answers the message for the email.

@return string
Answers the message for the email .