You are here

public function MassContactMessage::getSentTime in Mass Contact 8

Gets the sent time.

Return value

int The time the message was sent.

Overrides MassContactMessageInterface::getSentTime

File

src/Entity/MassContactMessage.php, line 109

Class

MassContactMessage
The mass contact message entity for archiving messages.

Namespace

Drupal\mass_contact\Entity

Code

public function getSentTime() {
  return $this
    ->get('sent')->value;
}