$node['metadata'] variable deprecation

Created on 17 July 2024, 7 months ago
Updated 15 January 2025, 21 days ago

Problem/Motivation

Per 📌 Remove legacy 'metadata' variable from node.html.twig Fixed the $node['metadata'] variable is being deprecated from core, this is used by RDF module to provide RDF markup for the $submitted variable (author + created time). It will no longer be printed by the node template from probably 11.1.x onwards. Should not break anything as such in RDF module as such, but will make the preprocess a no-op. It might be possible to do something with hook_entity_view_alter() or similar although I haven't verified.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024