protected static property NodeCreationTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::modules
- 10 core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::modules
Modules to enable.
Enable dummy module that implements hook_ENTITY_TYPE_insert() for exceptions (function node_test_exception_node_insert() ).
Type: array
Overrides NodeTestBase::$modules
File
- core/
modules/ node/ tests/ src/ Functional/ NodeCreationTest.php, line 27
Class
- NodeCreationTest
- Create a node and test saving it.
Namespace
Drupal\Tests\node\FunctionalCode
protected static $modules = [
'node_test_exception',
'dblog',
'test_page_test',
];