public function LibraryTransaction::getNid in Library 8
Get Node ID.
Overrides LibraryTransactionInterface::getNid
File
- src/
Entity/ LibraryTransaction.php, line 112
Class
- LibraryTransaction
- Defines the Library transaction entity.
Namespace
Drupal\library\EntityCode
public function getNid() {
return $this
->get('nid')->target_id;
}