Skip to content
Snippets Groups Projects
Commit dd2e11ca authored by Jennifer Tehan's avatar Jennifer Tehan Committed by Sascha Eggenberger
Browse files

Issue #3265646: Group content form irregularities due to content form check for group content

parent bf5fbad3
No related branches found
No related tags found
1 merge request!102Issue #3265646: Group content form irregularities due to content form check for group content
Pipeline #124641 passed
......@@ -259,7 +259,8 @@ class GinContentFormHelper implements ContainerInjectionInterface {
if (
in_array($route_name, $route_names, TRUE) ||
($form_state && ($form_state->getBuildInfo()['base_form_id'] ?? NULL) === 'node_form') ||
($route_name === 'entity.group_content.create_form' && strpos($form_id, 'group_node') === FALSE)
($route_name === 'entity.group_content.create_form' && substr($this->routeMatch->getParameter('plugin_id'), 0, 11) === "group_node:") ||
($route_name === 'entity.group_relationship.create_form' && substr($this->routeMatch->getParameter('plugin_id'), 0, 11) === "group_node:")
) {
$is_content_form = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment