Fix deprecation notices

Created on 28 June 2023, over 1 year ago
Updated 16 January 2024, 10 months ago

Problem/Motivation

When running the tests using PHP 8.1 and Drupal 10, one deprecation error arises, when running the tests locally:

Exception: Deprecated function: Creation of dynamic property Drupal\block_field\Plugin\Field\FieldFormatter\BlockFieldLabelFormatter::$currentUser is deprecated
Drupal\block_field\Plugin\Field\FieldFormatter\BlockFieldLabelFormatter->__construct()() (Line: 45)

Steps to reproduce

Proposed resolution

Fix the deprecation error.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Comments & Activities

Production build 0.71.5 2024