Deprecate the string code path for values parameter in BlockContentTestBase::createBlockContentType

Created on 5 February 2021, almost 4 years ago
Updated 13 September 2024, 3 months ago

Problem/Motivation

This Task is follow up from issue #2693485: Content types are ordered by machine name on /node/add page (+ similar issues with other entities) β†’

Steps to reproduce

Proposed resolution

Deprecate the string code path and in

+++ b/core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
@@ -112,4 +112,27 @@ protected function createBlockContentType($label, $create_body = FALSE) {
+  protected function createBlockContentTypeWithId($id, $label = '') {

Typehint will be added in D12 when the deprecation is removed.

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
EntityΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡§πŸ‡·Brazil adalbertov

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