From 323c7c16b52df6d331e5e4e286708bb2e928d0f4 Mon Sep 17 00:00:00 2001 From: Anna Heath Date: Fri, 18 Jul 2025 21:42:25 -0700 Subject: [PATCH] Adding BackdropCommerceEntityController via hook_autoload_info() Fixes #40 This fixes an error we were getting when we enabled commerce_customer, Class "BackdropCommerceEntityController" not found in require_once() We just needed to make sure we were including that class in hook_autoload_info() in the commerce_customer module. --- modules/customer/commerce_customer.module | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/customer/commerce_customer.module b/modules/customer/commerce_customer.module index 8dc59474..e8e43d41 100644 --- a/modules/customer/commerce_customer.module +++ b/modules/customer/commerce_customer.module @@ -1553,6 +1553,7 @@ function commerce_customer_config_info() { */ function commerce_customer_autoload_info() { return [ + 'BackdropCommerceEntityController' => 'includes/commerce.controller.inc', 'CommerceCustomerProfile' => 'includes/commerce_customer.entity.inc', 'CommerceCustomerProfileEntityController' => 'includes/commerce_customer_profile.controller.inc', 'commerce_customer_handler_area_empty_text' => 'includes/views/handlers/commerce_customer_handler_area_empty_text.inc',