As a developer I should be able to decorate "social_content_block.content_builder" service

Created on 13 March 2024, 10 months ago
Updated 2 April 2024, 10 months ago

Problem/Motivation

In distro we have a social_content_block.content_builder service used in "Custom content list block" feature.
Unfortunately, if I want to decorate the service behaviour (for example, add a custom entity to "Custom content list block") I can't do it because __construct() method is declared in \Drupal\social_content_block\ContentBuilderInterface rather then in \Drupal\social_content_block\ContentBuilder

Steps to reproduce

n/a

Proposed resolution

  • Remove \Drupal\social_content_block\ContentBuilderInterface::__construct()

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Feature request
Status

Fixed

Version

12.2

Component

Code (back-end)

Created by

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

Comments & Activities

Production build 0.71.5 2024