public function Invoice::getStore in Commerce Invoice 8.2
Gets the store.
Return value
\Drupal\commerce_store\Entity\StoreInterface|null The store entity, or null.
Overrides EntityStoreInterface::getStore
File
- src/
Entity/ Invoice.php, line 120
Class
- Invoice
- Defines the invoice entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function getStore() {
return $this
->getTranslatedReferencedEntity('store_id');
}