Skip to content

Commit

Permalink
Updated warning text.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jan 29, 2025
1 parent f6e6b7c commit 4346e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quant.module
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,6 @@ function quant_preprocess_views_view(array &$variables) {

// If the view has exposed filters, add a warning for admins.
if ($view->exposed_data && \Drupal::currentUser()->hasRole('administrator')) {
\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">Review the documentation for your options</a>.', ['@view_id' => $view->id()]));
\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()]));
}
}

0 comments on commit 4346e1d

Please sign in to comment.