See #1880976: [meta] Port examples (including submodules) to D9.4+
Nodes are completely different in D8. Change notice here: https://drupal.org/node/2029519
We can still demonstrate node type hooks, such as hook_node_type_insert(), and also entity hooks such as hook_entity_load(). I think we should focus on entity_example instead of this one.
There's a very basic version of creating a node type with a YAML file here: #2165259: Create node_type_example
Comments
Comment #1
pierrepaul commentedComment #2
pierrepaul commentedI moved to the twig team, unassigning myself.
Comment #3
tyjamessmith commentedStarting development on this issue. Assigning to me.
Comment #4
tyjamessmith commentedThis is getting ready to be ripped out. Do not work on this.
Comment #5
mile23Comment #6
mile23We really don't need this, because there's no such thing as Node API any more. See node_type_example and/or content_entity_example.