NodeCreationTest::$modules

Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::modules
  2. 8.9.x core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::modules
  3. 11.x core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::modules

Modules to install.

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 30

Class

NodeCreationTest
Create a node and test saving it.

Namespace

Drupal\Tests\node\Functional

Code

protected static $modules = [
    'node_test_exception',
    'dblog',
    'test_page_test',
];

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