You are here

public function MassContactMessage::getSubject in Mass Contact 8

Get the message subject.

Return value

string The message subject.

Overrides MassContactMessageInterface::getSubject

File

src/Entity/MassContactMessage.php, line 116

Class

MassContactMessage
The mass contact message entity for archiving messages.

Namespace

Drupal\mass_contact\Entity

Code

public function getSubject() {
  return $this
    ->get('subject')->value;
}