BlockContentBlock makes use of BlockContentUuidLookup class directly instead of using interface

Created on 25 February 2019, almost 6 years ago
Updated 6 May 2023, over 1 year ago

Problem/Motivation

Currently BlockContentBlock is making use of the injected service BlockContentUuidLookup by defining it directly by class name and not by interface, which makes it only possible to extend the BlockContentUuidLookup service and blocks the possibility to replace it with your own.

Proposed resolution

BlockContentUuidLookup is extending the CacheCollector class which implements the CacheCollectorInterface.
Replace the use of Drupal\block_content\BlockContentUuidLookup with Drupal\Core\Cache\CacheCollectorInterface inside the BlockContentBlock class.

πŸ“Œ Task
Status

Closed: outdated

Version

10.1 ✨

Component
Block contentΒ  β†’

Last updated 20 days ago

Created by

πŸ‡§πŸ‡¬Bulgaria svetoslav.dragoev

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