public function InvoiceMetadataController::invoiceNumberGetter in Commerce Invoice 7.2
Getter callback for invoice_number.
File
- src/
Entity/ InvoiceMetadataController.php, line 105 - Provides entity metadata integration.
Class
Namespace
Drupal\commerce_invoice\EntityCode
public function invoiceNumberGetter(Invoice $invoice) {
return (string) $invoice
->getInvoiceNumber();
}