Метод createSmartProcessSettings

protected static

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

protected static function createSmartProcessSettings(EntityType $entityType): static

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

Описание

Settings for smart-process-API-based entities: SmartInvoice, SmartDocument, SmartB2eDocument and custom smart processes (SPA, ID 128–191 or 1030+ even). The bulk of values is type-driven — read from the {@see \Bitrix\Crm\Model\Dynamic\Type} config row. Static Smart-* subclasses override Dynamic's behavior in a few places; those overrides are encoded as `match`-based per-id branches below. For two values whose source is schema-level (table existence, field existence) — `hasCounters` and `*LastActivity*` — we delegate to the still-original factory implementations. Those factory methods are NOT migrated to delegate back, so no recursion is possible.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/EntityTypeSettings.php
Расположение метода в файле
Строки 281–387

Исходный код

PHP