You are here

public function MassContactMessage::getFormat in Mass Contact 8

Get the message body format.

Return value

string The message body format.

Overrides MassContactMessageInterface::getFormat

File

src/Entity/MassContactMessage.php, line 102

Class

MassContactMessage
The mass contact message entity for archiving messages.

Namespace

Drupal\mass_contact\Entity

Code

public function getFormat() {
  return $this
    ->get('body')->format;
}