2 * Implements hook_views_analyze().
4 function {{ machine_name }}_views_analyze(Drupal\views\ViewExecutable $view) {
7 if ($view->display_handler->options['pager']['type'] == 'none') {
8 $messages[] = Drupal\views\Analyzer::formatMessage(t('This view has no pager. This could cause performance issues when the view contains many items.'), 'warning');