From d0641db7c3359de1039639230e35b7187ca3a06c Mon Sep 17 00:00:00 2001 From: Kristen Pol Date: Wed, 6 Mar 2024 11:16:42 -0800 Subject: [PATCH] Added use and clean up log message. --- src/Seed.php | 2 +- src/Utility.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Seed.php b/src/Seed.php index 4c3e67d..aa0b305 100644 --- a/src/Seed.php +++ b/src/Seed.php @@ -515,7 +515,7 @@ public static function unpublishView(EntityInterface $entity) { // Handle the pager path. $pager_url = "{$prefix}/{$path}?page={$i}"; - Utility::unpublishUrl($pager_url, "Unpublished views pager page [$i]"); + Utility::unpublishUrl($pager_url, 'Unpublished views pager page'); } } } diff --git a/src/Utility.php b/src/Utility.php index 5d6d475..9461280 100644 --- a/src/Utility.php +++ b/src/Utility.php @@ -6,6 +6,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Url; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; +use Drupal\quant\Event\QuantEvent; /** * Quant utility class for helper functions.