Метод clearByUserFieldId

public

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

public function clearByUserFieldId(int $userFieldId, int $entityTypeId): void

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

Описание

Drops the policy of a user field that is gone. The entity type comes from the caller because the storage does not keep it while the cache is laid out by it, and the deletion event knows it. A field nobody forbade - what most of the fields reaching here are, and every field of an entity whose type is being deleted - costs one read: there is no row to delete and no answer to drop.

Параметры

2
Имя Тип По умолчанию Флаги
$userFieldId int —
—
$entityTypeId int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Ai/FieldFillPolicyService.php
Расположение метода в файле
Строки 163–172

Исходный код

PHP