BlockContentCreationTest::$modules
Same name in other branches
- 9 core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::modules
- 8.9.x core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::modules
- 11.x core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::modules
Modules to install.
Enable dummy module that implements hook_block_insert() for exceptions and field_ui to edit display settings.
Type: array
Overrides BlockContentTestBase::$modules
File
-
core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php, line 28
Class
- BlockContentCreationTest
- Create a block and test saving it.
Namespace
Drupal\Tests\block_content\FunctionalCode
protected static $modules = [
'block_content_test',
'dblog',
'field_ui',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.