NodeEntityViewModeAlterTest::$modules
Same name in other branches
- 9 core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php \Drupal\Tests\node\Functional\NodeEntityViewModeAlterTest::modules
- 8.9.x core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php \Drupal\Tests\node\Functional\NodeEntityViewModeAlterTest::modules
- 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 22
Class
- NodeEntityViewModeAlterTest
- Tests changing view modes for nodes.
Namespace
Drupal\Tests\node\FunctionalCode
protected static $modules = [
'node_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.