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\EntityCode
public function getPatron() {
return $this
->get('uid')->target_id;
}