Skip to content

Commit 4a63502

Browse files
committed
Updated warning text.
1 parent 7920ac4 commit 4a63502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quant.module

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ function quant_preprocess_views_view(array &$variables) {
511511

512512
// If the view has exposed filters, add a warning for admins.
513513
if ($view->exposed_data && \Drupal::currentUser()->hasRole('administrator')) {
514-
\Drupal::messenger()->addWarning(t('The view (@view_id) on this page has exposed filters which need special handling for a static website.<br/> <a href="https://docs.quantcdn.io/integrations/drupal">See the documentation for your options</a>.', ['@view_id' => $view->id()]));
514+
\Drupal::messenger()->addWarning(t('The view (@view_id - @view_display) has exposed filters which need special handling for a static website.<br/> <a href="https://docs.quantcdn.io/integrations/drupal">See the documentation for your options</a>.', ['@view_id' => $view->id(), '@view_display' => $view->current_display]));
515515
}
516+
516517
}

0 commit comments

Comments
 (0)