function 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\Kernel

Code

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.