Deprecate node_get_type_label()

Created on 24 June 2025, 13 days ago

Problem/Motivation

https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/node/...

This is a procedural function in node.module that can be deprecated in favour of an OOP API.

Steps to reproduce

N/A

Proposed resolution

Replace with a new function on Node and NodeInterface getTypeLabel()

Remaining tasks

Do it

API changes

New getTypeLabel on Node objects

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

node system

Created by

πŸ‡¦πŸ‡ΊAustralia acbramley

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

Comments & Activities

Production build 0.71.5 2024