function FileMediaFormatterTestBase::setUp
Same name in other branches
- 8.9.x core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php \Drupal\Tests\file\Functional\Formatter\FileMediaFormatterTestBase::setUp()
- 10 core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php \Drupal\Tests\file\Functional\Formatter\FileMediaFormatterTestBase::setUp()
- 11.x core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php \Drupal\Tests\file\Functional\Formatter\FileMediaFormatterTestBase::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ file/ tests/ src/ Functional/ Formatter/ FileMediaFormatterTestBase.php, line 29
Class
- FileMediaFormatterTestBase
- Provides methods specifically for testing File module's media formatter's.
Namespace
Drupal\Tests\file\Functional\FormatterCode
protected function setUp() {
parent::setUp();
$this->drupalLogin($this->drupalCreateUser([
'view test entity',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.