NodeEntityViewModeAlterTest::$modules

Same name 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
  3. 11.x 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.

Type: modules

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',
];

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