mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
added const
This commit is contained in:
@@ -107,4 +107,9 @@ class RelationParam
|
||||
* @since 9.2.5
|
||||
*/
|
||||
public const ORDER = 'order';
|
||||
|
||||
/**
|
||||
* @since 9.4.0
|
||||
*/
|
||||
public const READ_ONLY = 'readOnly';
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user