Closed avpaderno closed 6 months ago
Some functions call node_type_set_defaults() right before calling node_type_save(), but that is not necessary, since node_type_set_defaults() is the first function node_type_save() calls.
node_type_set_defaults()
node_type_save()
$type = node_type_set_defaults($info); $type_data = (array) $type; $type_data['has_title'] = (bool) $type_data['has_title']; $type_data['modified'] = (bool) $type_data['modified']; $type_data['disabled'] = (bool) $type_data['disabled'];
This issue is the equivalent of https://github.com/backdrop/backdrop-issues/issues/6413 for Backdrop core.
Some functions call
node_type_set_defaults()
right before callingnode_type_save()
, but that is not necessary, sincenode_type_set_defaults()
is the first functionnode_type_save()
calls.