Метод isCustomField
Сигнатура метода
public function isCustomField(EntityType $entityType, string $name): bool
Возвращает:
bool
Описание
Whether `$name` is a known custom field (`UF_*`) of the given entity type. User-independent (uses the system descriptor set), so it fits the read-path resolve without a user context.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityType
|
EntityType
|
—
|
—
|
$name
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Item/CustomFieldRegistry.php
Расположение метода в файле
Строки
103–106