Hi there)

Guys, please tell me what does define the node structure for concrete node type ?

big thanks in advance)

Comments

jaypan’s picture

It's not really clear what you are asking.


Contact me to contract me for D7 -> D10/11 migrations.
Or anything really. I'm friendly, and open to work or conversation.
vedro-compota’s picture

i can't find the node class definition in source drupal modules code - or something like that.
e.g. how can I understand that for using node body i should write this:
$node->body[$node->language][0]['value'] = $body_text;
(from = http://www.group42.ca/creating_and_updating_nodes_programmatically_in_dr...)

nevets’s picture

If you install the developer (devel) module you will get a "devel" tab on each node where. Clicking that will take you to a subpage with "load" and "render" tabs. You can expand the data structure under the "load" tab to see the node structure. (The node structure is dynamic and defined at run time).

vedro-compota’s picture

The node structure is dynamic and defined at run time

ok) thanks nevets . i've understood you)