function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateLanguage
Same name in other branches
- 9 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateLanguage()
- 8.9.x core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateLanguage()
- 11.x core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateLanguage()
Tests an image style URL with the "private://" schema and language prefix.
File
-
core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php, line 112
Class
- ImageStylesPathAndUrlTest
- Tests the functions for generating paths and URLs for image styles.
Namespace
Drupal\Tests\image\FunctionalCode
public function testImageStyleUrlAndPathPrivateLanguage() : void {
$this->doImageStyleUrlAndPathTests('private', TRUE, TRUE, 'fr');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.