function BlockContentRemoveConstraint::setUp
Same name in other branches
- 11.x core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php \Drupal\Tests\block_content\Functional\Update\BlockContentRemoveConstraint::setUp()
Overrides UpdatePathTestBase::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\UpdateCode
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.