From aaad4ee11e955a49056e673f3f9c250d8abd2ebf Mon Sep 17 00:00:00 2001 From: rlefaive Date: Tue, 10 Dec 2024 16:18:23 -0400 Subject: [PATCH] Add all scholars to the views that get red if unpublished --- islandlives.module | 1 + 1 file changed, 1 insertion(+) diff --git a/islandlives.module b/islandlives.module index e6071ee..f978964 100644 --- a/islandlives.module +++ b/islandlives.module @@ -34,6 +34,7 @@ function islandlives_views_pre_render(ViewExecutable $view) { 'media', 'manage_members', 'media_of', + 'all_scholars', ]; if (isset($view) && (in_array($view->storage->id(), $applicable_views))) { $view->element['#attached']['library'][] = 'islandlives/unpublished';