Метод preflight
Сигнатура метода
private function preflight(array $requests, object $entityType, int $userId, LegacyItem $legacyItem, string $action, int $entityId, ?int $categoryId, UserPermissions $userPermissions, object $context): array|Result
Возвращает:
array|Result
Параметры
9| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$requests
|
array
|
—
|
—
|
$entityType
|
object
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$legacyItem
|
LegacyItem
|
—
|
—
|
$action
|
string
|
—
|
—
|
$entityId
|
int
|
—
|
—
|
$categoryId
|
?int
|
—
|
—
|
$userPermissions
|
UserPermissions
|
—
|
—
|
$context
|
object
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Item/File/FileFieldWriteService.php
Расположение метода в файле
Строки
375–466