Метод invalidateV2ItemCache

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

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

Путь к исходному файлу строки 287–305
~/bitrix/modulescrm/lib/Service/Operation.php

Исходный код

PHP
protected

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

protected function invalidateV2ItemCache(): void

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

Описание

Drops this item's entry from the V2 provider cache after a successful save. Every legacy write (add/update/delete/copy/restore/import/conversion) passes through launch(), so this single point keeps V2 cached reads consistent with data changed outside V2 Commands. Must stay cheap and must never break the legacy operation flow.