Метод ensureHistoryInitialized
Сигнатура метода
public function ensureHistoryInitialized(int $templateId): bool
Возвращает:
bool
Описание
Templates published before the feature was enabled get their first version on the first request that touches the history. The initial version only copies the live configuration and the publication metadata that survived on the template row.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateHistoryService.php
Расположение метода в файле
Строки
549–608