Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow up for #111715-53: Convert node/content types into configuration (See #54 too.)
Problem/Motivation
node type table is not used anymore.
Proposed resolution
hook_node_info() can be removed.
Remaining tasks
This needs filled out. (reviews needed, tests to be written or run, documentation to be written, etc.)
User interface changes
No UI changes.
API changes
Yes. removing hook_node_info()
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedThis might be a self contained task that someone could jump into.
Comment #2
sunThis issue should eliminate the entire "node system" component that we currently have, and which I'm assigning this issue to.
Essentially, by getting rid of hook_node_info(), we actually remove the entire Node Type API.
That API is used by old and legacy modules in core only; i.e., Poll, Book, (more?)
With content types converted to configiguration entities, it doesn't make sense anymore and has lost its entire meaning. :)
Comment #3
andypostSome of this already addressed in #111715: Convert node/content types into configuration
Comment #4
BerdirThere is AFAIK nothing left to do here after #111715: Convert node/content types into configuration in it's current state. The hook is gone and node_type callbacks are all gone.