public static function BlockRebuildTest::setUpBeforeClass in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block/tests/src/Kernel/BlockRebuildTest.php \Drupal\Tests\block\Kernel\BlockRebuildTest::setUpBeforeClass()
Overrides KernelTestBase::setUpBeforeClass
File
- core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php, line 37
Class
- BlockRebuildTest
- Tests block_rebuild().
Namespace
Drupal\Tests\block\KernelCode
public static function setUpBeforeClass() {
parent::setUpBeforeClass();
// @todo Once block_rebuild() is refactored to auto-loadable code, remove
// this require statement.
require_once static::getDrupalRoot() . '/core/modules/block/block.module';
}