Deprecate node_type_get_description

Created on 24 June 2025, 12 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

Deprecate the function with no replacement, we already have $node_type->getDescription();

Remaining tasks

Do it

API changes

node_type_get_description is deprecated

📌 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

Merge Requests

Comments & Activities

Production build 0.71.5 2024