function BlockContentRemoveConstraint::setUp

Same name and namespace in other branches
  1. 10 core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php \Drupal\Tests\block_content\Functional\Update\BlockContentRemoveConstraint::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php, line 26

Class

BlockContentRemoveConstraint
Tests the upgrade path for removing unique constraint on blocks.

Namespace

Drupal\Tests\block_content\Functional\Update

Code

protected function setUp() : void {
    parent::setUp();
    $this->entityDefinitionUpdateManager = \Drupal::entityDefinitionUpdateManager();
}

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