Метод readEntityAvailability
Сигнатура метода
private function readEntityAvailability(int $entityTypeId, UserPermissions $userPermissions): bool
Возвращает:
bool
Описание
An entity with funnels is available while the user may work in one of them, and the funnels are asked about by the rule this class publishes them by: a type available by one rule and empty of funnels by the other would offer a scheme a client cannot use.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$userPermissions
|
UserPermissions
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/FormConfigurationRepository.php
Расположение метода в файле
Строки
268–291