protected static property PagePreviewTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/PagePreviewTest.php \Drupal\Tests\node\Functional\PagePreviewTest::modules
Enable the comment, node and taxonomy modules to test on the preview.
Type: array
Overrides NodeTestBase::$modules
File
- core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php, line 36
Class
- PagePreviewTest
- Tests the node entity preview functionality.
Namespace
Drupal\Tests\node\FunctionalCode
protected static $modules = [
'node',
'taxonomy',
'comment',
'image',
'file',
'text',
'node_test',
'menu_ui',
];