function OEmbedResourceConstraintValidatorTest::setUp
Same name in other branches
- 9 core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php \Drupal\Tests\media\Kernel\OEmbedResourceConstraintValidatorTest::setUp()
- 8.9.x core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php \Drupal\Tests\media\Kernel\OEmbedResourceConstraintValidatorTest::setUp()
- 11.x core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php \Drupal\Tests\media\Kernel\OEmbedResourceConstraintValidatorTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ media/ tests/ src/ Kernel/ OEmbedResourceConstraintValidatorTest.php, line 35
Class
- OEmbedResourceConstraintValidatorTest
- @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator
Namespace
Drupal\Tests\media\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('file');
$this->installEntitySchema('user');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.