You are here

public static property NodeCreationTest::$modules in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Tests/NodeCreationTest.php \Drupal\node\Tests\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/src/Tests/NodeCreationTest.php, line 28
Contains \Drupal\node\Tests\NodeCreationTest.

Class

NodeCreationTest
Create a node and test saving it.

Namespace

Drupal\node\Tests

Code

public static $modules = array(
  'node_test_exception',
  'dblog',
  'test_page_test',
);