You are here

public function LibraryTransaction::getPatron in Library 8

Get Patron UID.

Overrides LibraryTransactionInterface::getPatron

File

src/Entity/LibraryTransaction.php, line 105

Class

LibraryTransaction
Defines the Library transaction entity.

Namespace

Drupal\library\Entity

Code

public function getPatron() {
  return $this
    ->get('uid')->target_id;
}