Метод resolveActivityDocumentType

private

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

private function resolveActivityDocumentType(array $arActivity, ?array $documentType): ?array

Возвращает: ?array

Описание

Document context one activity is validated in: the type the activity itself works on - the document of the event of a trigger, the type a node class fixes - and the type of the template when it publishes none. The very resolution the settings panel and its save-time validation use, so a child the panel accepted is not rejected here ({@see \Bitrix\Bizproc\Internal\Service\Activity\ComplexActivityService::getPublishedDocumentTypeForNode()}). Asked only about an activity served by the unified panel - the only verdict reading the context - so no other activity pays for the class-declared and per-instance lookups behind it.

Параметры

2
Имя Тип По умолчанию Флаги
$arActivity array —
—
$documentType ?array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/classes/general/workflowtemplateloader.php
Расположение метода в файле
Строки 242–264

Исходный код

PHP