Skip to content
Snippets Groups Projects
Verified Commit 1c8b1508 authored by Alexandre Dias's avatar Alexandre Dias
Browse files

ISAICP-8376: Remove skip_menu_creation.

parent 1cd9ebbd
No related branches found
No related tags found
2 merge requests!197Release 2.0.2,!196Release 2.0.1
......@@ -308,18 +308,13 @@ function joinup_group_node_access(EntityInterface $entity, $operation, AccountIn
}
/**
* Implements hook_ENTITY_TYPE_insert() for RDF entities.
* Implements hook_ENTITY_TYPE_insert() for nodes.
*/
function joinup_group_node_insert(NodeInterface $group): void {
if (!$group instanceof GroupInterface) {
return;
}
// @todo Clean this in ISAICP-8376.
if (!empty($group->skip_menu_creation)) {
return;
}
// When a group is created, create two new navigation menus and associate them
// with the new collection or solution. These menus can be used to link to
// custom pages, member, overviews, etc. but come with a default set of links
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment