Skip to content

Conversation

@cengizonkal
Copy link

if (is_null($node->getParentId())) { //parent_id can be zero  $node->setRelation('parent', null); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant