You are here

public static property EntityCrudHookTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php \Drupal\KernelTests\Core\Entity\EntityCrudHookTest::modules
  2. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php \Drupal\KernelTests\Core\Entity\EntityCrudHookTest::modules

Modules to enable.

Type: array

Overrides EntityKernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php, line 44

Class

EntityCrudHookTest
Tests the invocation of hooks when creating, inserting, loading, updating or deleting an entity.

Namespace

Drupal\KernelTests\Core\Entity

Code

public static $modules = [
  'block',
  'block_test',
  'entity_crud_hook_test',
  'file',
  'taxonomy',
  'node',
  'comment',
];