added const

This commit is contained in:
Yurii
2026-02-21 16:17:12 +02:00
parent adccaa7951
commit 65d2c1de07
2 changed files with 7 additions and 1 deletions

View File

@@ -107,4 +107,9 @@ class RelationParam
* @since 9.2.5
*/
public const ORDER = 'order';
/**
* @since 9.4.0
*/
public const READ_ONLY = 'readOnly';
}

View File

@@ -94,7 +94,7 @@ class CollaboratorsUpdateHook implements UpdateHook
'autocompleteOnEmpty',
'maxCount',
'inlineEditDisabled',
'tooltipText'
'tooltipText',
]
],
],
@@ -104,6 +104,7 @@ class CollaboratorsUpdateHook implements UpdateHook
'entity' => User::ENTITY_TYPE,
RelationParam::RELATION_NAME => self::RELATION_NAME,
'layoutRelationshipsDisabled' => true,
RelationParam::READ_ONLY => true,
],
],
]);