function views_test_data_views_pre_view

Same name in other branches
  1. 8.9.x core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_views_pre_view()
  2. 10 core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_views_pre_view()
  3. 11.x core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_views_pre_view()

Implements hook_views_pre_view().

File

core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc, line 102

Code

function views_test_data_views_pre_view(ViewExecutable $view) {
    \Drupal::state()->set('views_hook_test_views_pre_view', TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.