Using ace editor with field ui throws error

Created on 23 March 2022, over 2 years ago
Updated 6 June 2023, over 1 year ago

Problem/Motivation

Opening a admin/structure/paragraphs_type/X/display page thrown me the error

Using $this when not in object context in Drupal\ace_editor\Plugin\Field\FieldFormatter\AceFormatter::defaultSettings

Steps to reproduce

Well, it doesn't steps. The function is declared static, $this can't occur.

Proposed resolution

Just call Drupal::config(). Also, configFactory->get returns an object, so just run ->get() as well.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024