You are here

function views_test_data_schema in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_test_data/views_test_data.install \views_test_data_schema()

Implements hook_schema().

3 string references to 'views_test_data_schema'
PreviewTest::enableViewsTestModule in core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
Sets up the views_test_data.module.
ViewsKernelTestBase::setUpFixtures in core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php
Sets up the configuration and schema of views and views_test_data modules.
ViewTestBase::enableViewsTestModule in core/modules/views/tests/src/Functional/ViewTestBase.php
Sets up the views_test_data.module.

File

core/modules/views/tests/modules/views_test_data/views_test_data.install, line 11
Install, update, and uninstall functions for the Views Test module.

Code

function views_test_data_schema() {
  return \Drupal::state()
    ->get('views_test_data_schema');
}