Move block content creation methods to a trait

Created on 8 April 2019, about 6 years ago
Updated 20 February 2025, 5 months ago

Problem/Motivation

There are a lot of createBlockContentType() and createBlockContent() defined all over the place and this is not consistent with code reuse.

Proposed resolution

  • Centralize all createBlockContentType() and createBlockContent() methods in a new BlockContentCreationTrait.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

N/A

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component

block_content.module

Created by

πŸ‡·πŸ‡΄Romania claudiu.cristea Arad πŸ‡·πŸ‡΄

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

Merge Requests

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