'id' => 'style_one',
'label' => 'Style One',
'breakpoint_group' => 'responsive_image_test_module',
'fallback_image_style' => 'large',
]);
} /**
* Tests responsive image formatters on node display for public files.
*/
public function testResponsiveImageFieldFormattersPublic() { $this->
addTestImageStyleMappings();
$this->
doTestResponsiveImageFieldFormatters('public'
);
} /**
* Tests responsive image formatters on node display for private files.
*/
public function testResponsiveImageFieldFormattersPrivate() { $this->
addTestImageStyleMappings();
// Remove access content permission from anonymous users.
user_role_change_permissions(RoleInterface::ANONYMOUS_ID,
['access content' => FALSE
]);
$this->
doTestResponsiveImageFieldFormatters('private'
);
}