Метод isTemplateAdmin

protected

Сигнатура метода

protected function isTemplateAdmin(int $userId): bool

Возвращает: bool

Описание

Whether template ids are visible in captions. Not the isAvailable() gate: that one decides whether the entity is offered at all. Non-static so that a test can substitute the predicate.

Параметры

1
Имя Тип По умолчанию Флаги
$userId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/integration/ui/entityselector/accesstemplateprovider.php
Расположение метода в файле
Строки 185–188

Исходный код

PHP