You are here

public function InvoiceItemTypesAdminController::bundlePage in Commerce Invoice 8.2

Callback for the field UI base route.

1 string reference to 'InvoiceItemTypesAdminController::bundlePage'
commerce_invoice.routing.yml in ./commerce_invoice.routing.yml
commerce_invoice.routing.yml

File

src/Controller/InvoiceItemTypesAdminController.php, line 59

Class

InvoiceItemTypesAdminController
Provides the invoice item type admin controller.

Namespace

Drupal\commerce_invoice\Controller

Code

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'],
    ]),
  ];
}