You are here

public static property NodeFilterTest::$modules in Field Formatter Filter 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Kernel/NodeFilterTest.php \Drupal\Tests\field_formatter_filter\Kernel\NodeFilterTest::modules

Modules to enable.

In KernelTestBase, Modules are "loaded" but not "installed", whatever that means. We have to manually installConfig() for them?

Our own test module sets up the content type fff_test_type with the field formatter filter enabled on teaser body.

Type: string[]

Overrides EntityKernelTestBase::$modules

File

tests/src/Kernel/NodeFilterTest.php, line 30

Class

NodeFilterTest
Tests applying the filter formatter to a node.

Namespace

Drupal\Tests\field_formatter_filter\Kernel

Code

public static $modules = [
  'system',
  'node',
  'field',
  'text',
  'user',
  'filter',
  'field_formatter_filter',
];