function views_test_data_schema

Same name and namespace in other branches
  1. 9 core/modules/views/tests/modules/views_test_data/views_test_data.install \views_test_data_schema()
  2. 10 core/modules/views/tests/modules/views_test_data/views_test_data.install \views_test_data_schema()
  3. 11.x core/modules/views/tests/modules/views_test_data/views_test_data.install \views_test_data_schema()

Implements hook_schema().

5 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.
ViewKernelTestBase::setUpFixtures in core/modules/views/src/Tests/ViewKernelTestBase.php
Sets up the configuration and schema of views and views_test_data modules.
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/src/Tests/ViewTestBase.php
Sets up the views_test_data.module.
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

Code

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

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