Метод alignBlockMarks

private

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

private function alignBlockMarks(array $templateData, array $liveTemplate): array

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

Описание

The editor calls a block published while the mark of the graph it shows equals the mark of the live template. A version carries the marks of the publication it was made by, so every block of a restored draft would look unpublished; a block equal to the live one takes over the mark of that one instead and the canvas highlights the real difference. Marks themselves are not part of the comparison.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateHistoryService.php
Расположение метода в файле
Строки 332–356

Исходный код

PHP