function views_test_data_handler_test_access_callback

Same name and namespace in other branches
  1. 8.9.x core/modules/views/tests/modules/views_test_data/views_test_data.module \views_test_data_handler_test_access_callback()
  2. 10 core/modules/views/tests/modules/views_test_data/views_test_data.module \views_test_data_handler_test_access_callback()
  3. 11.x core/modules/views/tests/modules/views_test_data/views_test_data.module \views_test_data_handler_test_access_callback()

Access callback for the generic handler test.

Return value

bool Returns views_test_data.tests->handler_access_callback config. so the user has access to the handler.

See also

\Drupal\views\Tests\Handler\HandlerTest

1 string reference to 'views_test_data_handler_test_access_callback'
HandlerTest::viewsData in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
Returns the views data definition.

File

core/modules/views/tests/modules/views_test_data/views_test_data.module, line 20

Code

function views_test_data_handler_test_access_callback() {
    return \Drupal::config('views_test_data.tests')->get('handler_access_callback');
}

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