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

ahmad-alyasaki created an issue. See original summary.

ahmad-alyasaki’s picture

.

ahmad-alyasaki’s picture

Issue summary: View changes

  • 5415aac7 committed on 2.x
    [#3556352] feat: support and remove deprecated code
    
ahmad-alyasaki’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.