NormalizerTestBase::$modules

Same name in this branch
  1. 8.9.x core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase::modules
Same name in other branches
  1. 9 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase::modules
  2. 9 core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase::modules
  3. 10 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase::modules
  4. 11.x core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php, line 19

Class

NormalizerTestBase
Helper base class to set up some test fields for serialization testing.

Namespace

Drupal\Tests\serialization\Kernel

Code

public static $modules = [
    'serialization',
    'system',
    'field',
    'entity_test',
    'text',
    'filter',
    'user',
];

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