Deprecated function being called

Created on 17 February 2023, almost 2 years ago
Updated 22 March 2023, over 1 year ago

Problem/Motivation

When configuring a field to use In Other Words the following error occurs,

Deprecated function: Calling static trait method Drupal\inotherwords\Plugin\Field\FieldFormatter\InotherwordsFormatterHelperTrait::commonDefaultSettings is deprecated, it should only be called on a class using the trait in Drupal\inotherwords\Plugin\Field\FieldFormatter\InotherwordsListFormatter::defaultSettings() (line 39 of modules/contrib/inotherwords/src/Plugin/Field/FieldFormatter/InotherwordsListFormatter.php).

Steps to reproduce

On a site running Drupal 9.5.2 configure a field to use the In Other Words field widget.

Proposed resolution

Update the code to use the corresponding modern function.

Remaining tasks

  1. Write patch
  2. Test

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cedewey Denver, CO

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

Comments & Activities

Production build 0.71.5 2024