Skip to content
Snippets Groups Projects
Commit abb0e829 authored by Kristiaan Van den Eynde's avatar Kristiaan Van den Eynde
Browse files

Make sure permissions form items can't collide, prefix them appropriately.

parent c752f18e
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ abstract class GroupPermissionsForm extends FormBase {
$hide_descriptions = system_admin_compact_mode();
foreach ($this->getPermissions() as $provider => $sections) {
// Print a full width row containing the provider name for each provider.
$form['permissions'][$provider] = [
$form['permissions']['module-' . $provider] = [
[
'#wrapper_attributes' => [
'colspan' => count($group_roles) + 1,
......@@ -203,7 +203,7 @@ abstract class GroupPermissionsForm extends FormBase {
foreach ($sections as $section_id => $permissions) {
// Start each section with a full width row containing the section name.
$form['permissions'][$section_id] = [
$form['permissions']['section-' . $section_id] = [
[
'#wrapper_attributes' => [
'colspan' => count($group_roles) + 1,
......
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