function PageTitleConvertedIntoBlockUpdateTest::setUp

Overrides UpdatePathTestBase::setUp

File

core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php, line 36

Class

PageTitleConvertedIntoBlockUpdateTest
Tests the upgrade path for page title being converted into a block.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setUp() {
    parent::setUp();
    // @todo Remove in https://www.drupal.org/node/2568069.
    
    /** @var \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler */
    $theme_handler = \Drupal::service('theme_handler');
    $theme_handler->refreshInfo();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.