Problem/Motivation

When enabling the webprofiler, it complains about a TypeError.

TypeError: Argument 2 passed to Drupal\feeds\Plugin\Derivative\ExtraLinks::__construct() must be an instance of Drupal\Core\Config\Entity\ConfigEntityStorage, instance of Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator given

Steps to reproduce

Enable webprofiler on a site with feeds installed

Proposed resolution

Use ConfigEntityStorageInterface instead

Remaining tasks

None

User interface changes

None

API changes

Attached is a patch that fixes the call in four places.

Data model changes

None

Issue fork feeds-3299584

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pixiekat created an issue. See original summary.

immaculatexavier made their first commit to this issue’s fork.

immaculatexavier’s picture

Status: Active » Needs review

Committed and MR in accordance with the proposed resolution and attached patch

megachriz’s picture

Status: Needs review » Fixed

Thanks for the patch! Committed it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.