function InvoiceController::buildContent in Commerce Invoice 7.2
File
- src/
Entity/ InvoiceController.php, line 81 - The entity controller for invoices.
Class
Namespace
Drupal\commerce_invoice\EntityCode
function buildContent($entity, $view_mode = 'full', $langcode = NULL, $content = []) {
if ($view_mode === 'full') {
$this
->addInvoiceInfo($entity, $content);
}
return parent::buildContent($entity, $view_mode, $langcode, $content);
}