Skip to content
Snippets Groups Projects

Issue #3475720: Fix incorrect "attributes" passing

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -273,7 +273,7 @@ class Cloudimage360ViewFormatter extends ImageFormatter {
@@ -273,7 +273,7 @@ class Cloudimage360ViewFormatter extends ImageFormatter {
'#theme' => 'js_cloudimage_360_view',
'#theme' => 'js_cloudimage_360_view',
'#file_urls_string' => $imageUrlJson,
'#file_urls_string' => $imageUrlJson,
'#display_settings' => $displaySettings,
'#display_settings' => $displaySettings,
'#attributes' => $attributes->toArray(),
'#attributes' => $attributes,
'#cache' => [
'#cache' => [
'tags' => $cacheTags,
'tags' => $cacheTags,
],
],
Loading