Метод create
Сигнатура метода
public function create(int $actorUserId, Context $context, string $name, array $layout, array $accessCodes, bool $autoApplyScope = false, bool $onAdd = true, bool $onUpdate = true): Result
Возвращает:
Result
Параметры
8| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$actorUserId
|
int
|
—
|
—
|
$context
|
Context
|
—
|
—
|
$name
|
string
|
—
|
—
|
$layout
|
array
|
—
|
—
|
$accessCodes
|
array
|
—
|
—
|
$autoApplyScope
|
bool
|
false
|
—
|
$onAdd
|
bool
|
true
|
—
|
$onUpdate
|
bool
|
true
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/EntityEditor/Layout/CustomScopeService.php
Расположение метода в файле
Строки
98–150