Closed (fixed)
Project:
Image 360 field
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2025 at 08:05 UTC
Updated:
20 Nov 2025 at 08:09 UTC
Jump to comment: Most recent
1. Deprecated DRUPAL_ROOT constant (image_field_360.install)
Replaced deprecated DRUPAL_ROOT constant with \Drupal::root() in image_field_360_requirements() hook
This constant was removed in Drupal 10 and would cause fatal errors
2. Bug fixes in field formatter (Image_field_360.php)
Fixed duplicate navbar_enable key in defaultSettings() method
Changed global t() function to $this->t() for consistency with Drupal coding standards
3. Configuration schema correction (image_field_360.schema.yml)
Updated schema ID from field.formatter.settings.degree_360 to field.formatter.settings.Image_field_360 to match the actual plugin ID
This ensures proper configuration validation
Comments
Comment #2
ahmad-alyasaki commented.
Comment #3
ahmad-alyasaki commentedComment #5
ahmad-alyasaki commented