Метод getEventDocumentComplexType
Сигнатура метода
public function getEventDocumentComplexType(): array
Возвращает:
array
Описание
Document type of the event this trigger reacts to, as `[moduleId, entity, documentType]`; the `Workflow` pseudo-type when the event carries no document of its own. Instance-level on purpose: a trigger of one class serves several document types, resolving its own from its properties. The same value the configurator carries, and thereby the very one {@see \Bitrix\Bizproc\Workflow\Template\Entity\WorkflowTemplateTriggerTable::upsert()} registers the trigger by. Reachable apart from the configurator because the editor asks for the document type alone ({@see \Bitrix\Bizproc\Internal\Service\Activity\ComplexActivityService::getPublishedDocumentTypeForNode()}) and must not be made to build the section of a trigger to learn it.
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/activity/basetrigger.php