function ConfigActionsTest::testPlaceBlockInDefaultRegion
Same name and namespace in other branches
- 11.x core/modules/block/tests/src/Kernel/ConfigActionsTest.php \Drupal\Tests\block\Kernel\ConfigActionsTest::testPlaceBlockInDefaultRegion()
Tests placing a block in the default theme's region.
File
-
core/
modules/ block/ tests/ src/ Kernel/ ConfigActionsTest.php, line 163
Class
- ConfigActionsTest
- Tests Config Actions.
Namespace
Drupal\Tests\block\KernelCode
public function testPlaceBlockInDefaultRegion() : void {
$this->config('system.theme')
->set('default', 'block_test_theme')
->save();
$this->testPlaceBlockInDynamicRegion('placeBlockInDefaultTheme', 'block_test_theme', 'content');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.