From b7db61c3c4272fb8c60aee6f3d60e85df3b1a3bb Mon Sep 17 00:00:00 2001 From: Sascha Grossenbacher <saschagros@gmail.com> Date: Sat, 29 Mar 2025 11:32:02 +0100 Subject: [PATCH] backport interface --- .../Drupal/Core/Cache/CacheOptionalInterface.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/lib/Drupal/Core/Cache/CacheOptionalInterface.php diff --git a/core/lib/Drupal/Core/Cache/CacheOptionalInterface.php b/core/lib/Drupal/Core/Cache/CacheOptionalInterface.php new file mode 100644 index 000000000000..a7f6317b5edb --- /dev/null +++ b/core/lib/Drupal/Core/Cache/CacheOptionalInterface.php @@ -0,0 +1,13 @@ +<?php + +namespace Drupal\Core\Cache; + +/** + * Indicates that caching is optional. + * + * This interface is backported to Drupal 10.5 to make it easier to support it, + * There are no usages in Drupal core before 11.2 + */ +interface CacheOptionalInterface { + +} -- GitLab