Drupal 10 compatibility fixes - hooks and jQuery

Created on 13 October 2023, about 1 year ago
Updated 17 October 2023, about 1 year ago

Problem/Motivation

There are problems with the current version being incompatible with Drupal 10:

1. Hook_field_widget_WIDGET_TYPE_form_alter is not used:

    * @deprecated in Drupal:9.2.0 and removed from Drupal:10.0.0. Use
    * insteadlook_field_widget_single_element_WIDGET_TYPE_form_alter.
   

2. In Drupal 10, the drupal/jquery.once library is no longer replaced by the core/once library, as a result:

It is not possible to save the tooltip position in JSON.

"Uncaught TypeError: $(...).once is not a function"

๐Ÿ› Bug report
Status

Needs review

Version

10.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ฆUkraine axicdv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024