You are here

public function TestMessage::getUid in Courier 8

Same name and namespace in other branches
  1. 2.x tests/modules/courier_test_message/src/Entity/TestMessage.php \Drupal\courier_test_message\Entity\TestMessage::getUid()

File

tests/modules/courier_test_message/src/Entity/TestMessage.php, line 27

Class

TestMessage
Defines storage for a test message.

Namespace

Drupal\courier_test_message\Entity

Code

public function getUid() {
  return $this
    ->get('uid')->value;
}