Метод onEnable
Сигнатура метода
protected function onEnable(): void
Возвращает:
void
Описание
A menu a user has already reordered keeps the section where it was, so opening the section schedules the stepper that moves the item in the menus already saved. The stepper itself skips a user whose menu is in order, which is what makes repeated switching safe. Nothing may escape: the package does not catch what a hook throws, and the switch happens in the middle of foreign scenarios that have their own work left to do after it.
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Feature/AiAgent/AiAgentSectionFlag.php
Расположение метода в файле
Строки
30–46