Remove BlockContentController::Add

Created on 7 March 2023, almost 2 years ago
Updated 21 December 2023, about 1 year ago

Problem/Motivation

Follow up from https://git.drupalcode.org/project/drupal/-/merge_requests/3535#note_156789

I think we can deprecate this and then call \Drupal\Core\Entity\Controller\EntityController::addPage
We should also remove this from routing.yml and use \Drupal\Core\Entity\Controller\EntityController::addPage via a route provider instead

Steps to reproduce

NA

Proposed resolution

Remove ::add() from block_content and update route to use \EntityController::addPage

Most likely will require adding add-page and add-form for block_content entity links.

Remove destination parameter from "Add content block" - needs approval

Remaining tasks


#11 bug
Review

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

NA

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
Block contentΒ  β†’

Last updated 20 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

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