protected function Invoice::defaultLabel in Commerce Invoice 7.2
File
- src/
Entity/ Invoice.php, line 94 - Invoice entity.
Class
Namespace
Drupal\commerce_invoice\EntityCode
protected function defaultLabel() {
return $this
->hasInvoiceNumber() ? t('Invoice @number', [
'@number' => $this
->getInvoiceNumber()
->__toString(),
]) : t('Invoice');
}