Метод canCreateInternal
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
43–66
~/bitrix/modulestasks/lib/V2/Internal/Access/Service/CanSaveTrait.php
Исходный код
Сигнатура метода
private function canCreateInternal(Type $type, ControllerFactoryInterface $controllerFactory, string $saveAction, int $userId, EntityInterface $entity): bool
Возвращает:
bool
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
Type
|
-
|
-
|
$controllerFactory
|
ControllerFactoryInterface
|
-
|
-
|
$saveAction
|
string
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$entity
|
EntityInterface
|
-
|
-
|