- Issue created by @joelpittet
- @joelpittet opened merge request.
- Status changed to Needs review
over 1 year ago 12:29am 25 October 2023
When calling node_authlink_create()
it would be convenient to set the node object's authlink property so it doesn't needed be loaded via a separate call to node_authlink_node_load()
node_authlink_create($node);
// Needed to get the authlink. $node->authkey = node_authlink_load_authkey($node->id());
$auth_edit_link = node_authlink_get_url($node, 'update')->toString();
Assign $node->authkey
inside node_authlink_create()
Needs review
2.0
Code