category disable children link

This commit is contained in:
Yuri Kuznetsov
2022-03-08 09:27:30 +02:00
parent 0e8b9e950b
commit b5bef88a8d
5 changed files with 26 additions and 0 deletions

View File

@@ -22,5 +22,11 @@
}
]
}
},
"relationshipPanels": {
"children": {
"selectDisabled": true,
"unlinkDisabled": true
}
}
}

View File

@@ -36,5 +36,11 @@
}
]
}
},
"relationshipPanels": {
"children": {
"selectDisabled": true,
"unlinkDisabled": true
}
}
}

View File

@@ -36,5 +36,11 @@
}
]
}
},
"relationshipPanels": {
"children": {
"selectDisabled": true,
"unlinkDisabled": true
}
}
}

View File

@@ -40,6 +40,10 @@
"relationshipPanels": {
"emailTemplates": {
"create": false
},
"children": {
"selectDisabled": true,
"unlinkDisabled": true
}
}
}

View File

@@ -69,6 +69,8 @@ class RecordTree extends Record
if ($this->entityType === 'RecordTree') {
$this->entityType = null;
}
$this->readOnlyLinkList[] = 'children';
}
public function setEntityType(string $entityType): void
@@ -384,4 +386,6 @@ class RecordTree extends Record
return $idList;
}
}