Add support for block plugin decorator

Created on 14 January 2021, almost 4 years ago
Updated 12 September 2023, over 1 year ago

Problem/Motivation

Site broken if we want to decorate block plugin.

TypeError: Argument 5 passed to Drupal\views\Plugin\views\display\Block::__construct() must implement interface Drupal\Core\Block\BlockManagerInterface, instance of Drupal\plugindecorator\PluginManagerDecorator given, called in /var/www/mhi/docroot/core/modules/views/src/Plugin/views/display/Block.php on line 92 in Drupal\views\Plugin\views\display\Block->__construct() (line 76 of core/modules/views/src/Plugin/views/display/Block.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇳China Oscaner

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