Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By nod_ on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.4.x
Introduced in version:
9.4.0
Issue links:
Description:
In order to refactor the JS supporting the contextual module and remove Backbone the JS API of the contextual module is marked internal and most existing objects/classes are deprecated.
The drupalContextualLinkAdded
event itself is not deprecated, but the model
property of the event data is deprecated.
The list of JS objects that are deprecated:
Drupal.contextual.views
Drupal.contextual.regionViews
Drupal.contextual.collection
Drupal.contextual.StateModel
Drupal.contextual.AuralView
Drupal.contextual.KeyboardView
Drupal.contextual.RegionView
Drupal.contextual.VisualView
Drupal.contextualToolbar.StateModel
Drupal.contextualToolbar.AuralView
Drupal.contextualToolbar.VisualView
The following JS object is marked as internal and contrib developers should not use or rely on it in their code.
Drupal.contextual
Impacts:
Module developers