You are here

public static property NodeEntityViewModeAlterTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php \Drupal\Tests\node\Functional\NodeEntityViewModeAlterTest::modules
  2. 10 core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php \Drupal\Tests\node\Functional\NodeEntityViewModeAlterTest::modules

Enable dummy module that implements hook_ENTITY_TYPE_view() for nodes.

Overrides NodeTestBase::$modules

File

core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php, line 20

Class

NodeEntityViewModeAlterTest
Tests changing view modes for nodes.

Namespace

Drupal\Tests\node\Functional

Code

public static $modules = [
  'node_test',
];