public function ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersLinkToNode in Drupal 9
Same name and namespace in other branches
- 8 core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php \Drupal\Tests\responsive_image\Functional\ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersLinkToNode()
Tests responsive image formatters on node display linked to the node.
File
- core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php, line 364
Class
- ResponsiveImageFieldDisplayTest
- Tests responsive image display formatter.
Namespace
Drupal\Tests\responsive_image\FunctionalCode
public function testResponsiveImageFieldFormattersLinkToNode() {
$this
->addTestImageStyleMappings();
$this
->assertResponsiveImageFieldFormattersLink('content');
}