You are here

protected static property NodeEntityViewModeAlterTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 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

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