public function InvoiceItemTypesAdminController::bundlePage in Commerce Invoice 8.2
Callback for the field UI base route.
1 string reference to 'InvoiceItemTypesAdminController::bundlePage'
File
- src/
Controller/ InvoiceItemTypesAdminController.php, line 59
Class
- InvoiceItemTypesAdminController
- Provides the invoice item type admin controller.
Namespace
Drupal\commerce_invoice\ControllerCode
public function bundlePage($bundle = NULL) {
$entity_bundle_info = $this->entityTypeBundleInfo
->getBundleInfo('commerce_invoice_item');
return [
'#markup' => $this
->t('The @bundle-label bundle has no settings.', [
'@bundle-label' => $entity_bundle_info[$bundle]['label'],
]),
];
}