public function ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php \Drupal\responsive_image\Tests\ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle()
Test responsive image formatters when image style is empty.
File
- core/
modules/ responsive_image/ src/ Tests/ ResponsiveImageFieldDisplayTest.php, line 92 - Contains \Drupal\responsive_image\Tests\ResponsiveImageFieldDisplayTest.
Class
- ResponsiveImageFieldDisplayTest
- Tests responsive image display formatter.
Namespace
Drupal\responsive_image\TestsCode
public function testResponsiveImageFieldFormattersEmptyStyle() {
$this
->addTestImageStyleMappings(TRUE);
$this
->doTestResponsiveImageFieldFormatters('public', TRUE);
}