TestViewsTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Kernel/TestViewsTest.php \Drupal\Tests\views\Kernel\TestViewsTest::modules
  2. 8.9.x core/modules/views/tests/src/Kernel/TestViewsTest.php \Drupal\Tests\views\Kernel\TestViewsTest::modules
  3. 11.x core/modules/views/tests/src/Kernel/TestViewsTest.php \Drupal\Tests\views\Kernel\TestViewsTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/views/tests/src/Kernel/TestViewsTest.php, line 31

Class

TestViewsTest
Tests that test views provided by all modules match schema.

Namespace

Drupal\Tests\views\Kernel

Code

protected static $modules = [
  'views',
  // For NodeType config entities to exist, its module must be installed.
'node',
  // The `DRUPAL_OPTIONAL` constant is used by the NodeType config entity type
  // and only available if the system module is installed.
  // `system.menu.tools` is a config dependency. It is one of the default
  // config of the System module.
  // @see \DRUPAL_OPTIONAL
  // @see \Drupal\node\Entity\NodeType::$preview_mode
  // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache_none.yml
'system',
  // There are a number of `field.storage.*.*` config dependencies. For these
  // to be created, the Field module must be installed.
'field',
  // Some of the `field.storage.*.*` config dependencies use the `link` field
  // type. For fields of this type to be created the module must be installed.
  // @see core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml
  // @see \Drupal\Tests\link\Functional\Views\LinkViewsTokensTest
'link',
  // `field.storage.node.body` config entity is a config dependency. It is one
  // of the default config of the Node module. And it requires the
  // `text_with_summary` field type, which is provided by the Text module.
  // @see core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml
'text',
  // For Vocabulary config entities to exist, its module must be installed.
'taxonomy',
  // `user.role.authenticated` is a config dependency. It is one of the
  // default config of the User module.
'user',
  // `field.storage.entity_test.field_test` is a config dependency. It uses
  // the `entity_type` content entity type, which is provided by the
  // entity_test module.
  // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_attachment_test.yml
  // @see \Drupal\Tests\views\Kernel\Handler\FieldFieldTest::setUp()
'entity_test',
  'views_test_data',
  // `block_content` is a module dependency.
  // @see core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_redirect_destination.yml
'block_content',
  // `comment` is a module dependency.
  // @see core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment.yml
'comment',
  // `comment_test_views` is a module dependency.
  // @see core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml
'comment_test_views',
  // `contact` is a module dependency.
  // @see core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml
'contact',
  // `content_translation` is a module dependency.
  // @see core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml
'content_translation',
  // `content_translation` is a module dependency.
  // @see core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml
'content_translation',
  // The `language_content_settings` config entity type must exist because the
  // `content_translation` module A) depends on it, B) actively uses it
  // whenever new bundles are installed.
  // @see content_translation_entity_bundle_info_alter()
'language',
  // `datetime` is a module dependency.
  // @see core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_exposed_filter_datetime.yml
'datetime',
  // `dblog` is a module dependency.
  // @see core/modules/dblog/tests/modules/dblog_test_views/test_views/views.view.dblog_integration_test.yml
'dblog',
  // `file` is a module dependency.
  // @see core/modules/image/tests/modules/image_test_views/test_views/views.view.test_image_user_image_data.yml
'file',
  // `media` is a module dependency.
  // @see core/modules/media/tests/modules/media_test_views/test_views/views.view.test_media_revision_uid.yml
'media',
  // `rest` is a module dependency.
  // @see core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_excluded_field_token_display.yml
'rest',
  // `serialization` is a dependency of the `rest` module.
'serialization',
  // `rest_test_views` is a module dependency.
  // @see core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_node_display_field.yml
'rest_test_views',
  // `tracker` is a module dependency.
  // @see core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml
'tracker',
  // `search` is a module dependency.
  // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml
'search',
  // `history` is a module dependency.
  // @see core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml
'history',
  // The `image` module is required by at least one of the Node module's
  // views.
'image',
];

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