MenuSlideshowRefSlidesBlock should use EntityTypeManagerInterface instead of EntityTypeManager

Created on 16 February 2023, over 2 years ago

Problem/Motivation

MenuSlideshowRefSlidesBlock should use EntityTypeManagerInterface instead of EntityTypeManager.

This for example currently leads to imcompatibility with the webprofiler module:

TypeError: Drupal\drowl_header_slides\Plugin\Block\MenuSlideshowRefSlidesBlock::__construct(): Argument #4 ($entityTypeManager) must be of type Drupal\Core\Entity\EntityTypeManager, Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /var/www/vhosts/web10.v1750.ncsrv.de/httpdocs/vorlagen/drupal9/web/modules/contrib/drowl_header_slides/src/Plugin/Block/MenuSlideshowRefSlidesBlock.php on line 98 in Drupal\drowl_header_slides\Plugin\Block\MenuSlideshowRefSlidesBlock->__construct() (line 77 of modules/contrib/drowl_header_slides/src/Plugin/Block/MenuSlideshowRefSlidesBlock.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024