diff --git a/src/Entity/License.php b/src/Entity/License.php index b925f1b..9dd1b34 100644 --- a/src/Entity/License.php +++ b/src/Entity/License.php @@ -28,8 +28,8 @@ use Drupal\commerce_license\Plugin\Commerce\LicenseType\LicenseTypeInterface; * bundle_label = @Translation("License type"), * bundle_plugin_type = "commerce_license_type", * handlers = { - * "access" = "\Drupal\entity\EntityAccessControlHandler", - * "permission_provider" = "Drupal\commerce\EntityPermissionProvider", + * "access" = "\Drupal\entity\UncacheableEntityAccessControlHandler", + * "permission_provider" = "\Drupal\entity\UncacheableEntityPermissionProvider", * "list_builder" = "Drupal\commerce_license\LicenseListBuilder", * "storage" = "Drupal\commerce_license\LicenseStorage", * "form" = {