From 7fe60650c8a69c631447afbda6a4af513a09d657 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 11 May 2023 17:20:35 -0700 Subject: [PATCH] Move "ImportMap" to "Civi\Esm\" --- CRM/Utils/Hook.php | 2 +- Civi/{Core => Esm}/ImportMap.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename Civi/{Core => Esm}/ImportMap.php (99%) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 30fb2b18cf..69e5f6b5b8 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2848,7 +2848,7 @@ abstract class CRM_Utils_Hook { * * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap * @link https://github.com/WICG/import-maps - * @see \Civi\Core\ImportMap + * @see \Civi\Esm\ImportMap * * @param array $importMap * Ex: ['imports' => ['square/' => 'https://example.com/square/']] diff --git a/Civi/Core/ImportMap.php b/Civi/Esm/ImportMap.php similarity index 99% rename from Civi/Core/ImportMap.php rename to Civi/Esm/ImportMap.php index 928f699caa..a2e0b60c66 100644 --- a/Civi/Core/ImportMap.php +++ b/Civi/Esm/ImportMap.php @@ -1,8 +1,9 @@