function ConfigActionsTest::testPlaceBlockInDefaultRegion
File
-
core/
modules/ block/ tests/ src/ Kernel/ ConfigActionsTest.php, line 139
Class
- ConfigActionsTest
- @covers \Drupal\block\Plugin\ConfigAction\PlaceBlock @covers \Drupal\block\Plugin\ConfigAction\PlaceBlockDeriver @group block
Namespace
Drupal\Tests\block\KernelCode
public function testPlaceBlockInDefaultRegion() : void {
$this->config('system.theme')
->set('default', 'umami')
->save();
$this->testPlaceBlockInDynamicRegion('placeBlockInDefaultTheme', 'umami', 'content');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.