protected function FileFieldPathsTestBase::setUp in File (Field) Paths 8
Sets up a Drupal site for running functional and integration tests.
Overrides FileFieldTestBase::setUp
1 call to FileFieldPathsTestBase::setUp()
- FileFieldPathsRedirectTest::setUp in tests/
src/ Functional/ FileFieldPathsRedirectTest.php - Sets up a Drupal site for running functional and integration tests.
1 method overrides FileFieldPathsTestBase::setUp()
- FileFieldPathsRedirectTest::setUp in tests/
src/ Functional/ FileFieldPathsRedirectTest.php - Sets up a Drupal site for running functional and integration tests.
File
- tests/
src/ Functional/ FileFieldPathsTestBase.php, line 45
Class
- FileFieldPathsTestBase
- Base class for File (Field) Paths tests.
Namespace
Drupal\Tests\filefield_paths\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create a content type.
$content_type = $this
->drupalCreateContentType();
$this->contentType = $content_type
->get('name');
}