LegalInfo
Table of Contents
Constants
-
EDITOR_CONFIG_CATEGORY_NAME
= 'sign.legal.form.editor'
-
EDITOR_CONFIG_CONFIG_ID
= 'legal_info_form'
-
USER_FIELD_ENTITY_ID
= 'USER_LEGAL'
Methods
-
canAdd()
: bool
-
canDelete()
: bool
-
canEdit()
: bool
-
canView()
: bool
-
getElementsForEntityEditor()
: array<string|int, mixed>
-
onProfileConfigAdditionalBlocks()
: EventResult
-
unsetConfigForProfileEntityEditor()
: void
EDITOR_CONFIG_CATEGORY_NAME
public
mixed
EDITOR_CONFIG_CATEGORY_NAME
= 'sign.legal.form.editor'
EDITOR_CONFIG_CONFIG_ID
public
mixed
EDITOR_CONFIG_CONFIG_ID
= 'legal_info_form'
USER_FIELD_ENTITY_ID
public
mixed
USER_FIELD_ENTITY_ID
= 'USER_LEGAL'
canAdd()
public
static canAdd(int $userId) : bool
Parameters
-
$userId
: int
-
canDelete()
public
static canDelete(int $userId) : bool
Parameters
-
$userId
: int
-
canEdit()
public
static canEdit(int $userId) : bool
Parameters
-
$userId
: int
-
canView()
public
static canView(int $userId) : bool
Parameters
-
$userId
: int
-
getElementsForEntityEditor()
public
static getElementsForEntityEditor(mixed $userFields) : array<string|int, mixed>
Parameters
-
$userFields
: mixed
-
Return values
array<string|int, mixed>
onProfileConfigAdditionalBlocks()
public
static onProfileConfigAdditionalBlocks(Event $event) : EventResult
Parameters
-
$event
: Event
-
Return values
EventResult
unsetConfigForProfileEntityEditor()
public
static unsetConfigForProfileEntityEditor() : void