- Модуль: iblock
- Путь к файлу: ~/bitrix/modules/iblock/lib/grid/panel/groupaction.php
- Класс: BitrixIblockGridPanelGroupAction
- Вызов: GroupAction::getAdjustSectionList
protected function getAdjustSectionList(array $action): array
{
return [
'name' => $action['NAME'],
'type' => 'multicontrol',
'action' => [
[
'ACTION' => MainGridPanelActions::RESET_CONTROLS
],
[
'ACTION' => MainGridPanelActions::CREATE,
'DATA' => [
[
'TYPE' => MainGridPanelTypes::DROPDOWN,
'ID' => $this->getElementId($action['SECTION_LIST_ID']),
'NAME' => 'section_to_move',
'ITEMS' => $this->getSections(true)
],
$this->getApplyButton($action)
]
]
]
];
}