Rename node 'uid' field to 'author'

Created on 1 August 2014, over 10 years ago
Updated 18 March 2025, 17 days ago

Followup for #2226493: Apply formatters and widgets to Node base fields

The node 'uid' field is now an entity_ref field. Strictly speaking, it should be named 'author' rather than 'uid'.
$node->uid->target_id is a WTF.

An entity_ref has an ID, but is not an ID, it points to an actual entity.

📌 Task
Status

Closed: won't fix

Version

11.0 🔥

Component

node system

Created by

🇫🇷France yched

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.

  • 🇦🇺Australia acbramley

    No activity in >10 years, closing as outdated. Feel free to reopen if there's still something to fix.

    I would also say it's not worth doing this because of the huge upgrade path it would add to every single Drupal site.

Production build 0.71.5 2024