protected static property NodeEntityViewModeAlterTest::$modules in Drupal 9
Same name and namespace in other branches
- 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\FunctionalCode
protected static $modules = [
'node_test',
];