Refactor ContentBlockTitleReplacementFormatter

Created on 5 April 2023, about 1 year ago
Updated 11 December 2023, 7 months ago

Problem/Motivation

In the ContentBlockTitleReplacementFormatter there's some room for improvement to move some logic out of the foreach

e.g.:

  • $node = $this->fetchNodeFromRoute(); can be moved outside of the foreach
  • A bunch of the code in the switch can also be moved outside of it
📌 Task
Status

Closed: duplicate

Version

6.1

Component

Code

Created by

🇧🇪Belgium brentg Ghent

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

Comments & Activities

Production build 0.69.0 2024