• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/Integration/UI/Grid/General/BaseProvider.php
  • Класс: BitrixIblockIntegrationUIGridGeneralBaseProvider
  • Вызов: BaseProvider::getActionPanel
protected function getActionPanel(): ?array
{
	$snippet = new Snippet();

	$items = [];
	$items[] = $snippet->getRemoveButton();
	$items[] = $snippet->getEditButton();

	if ($items)
	{
		return [
			'GROUPS' => [
				[
					'ITEMS' => $items,
				],
			],
		];
	}

	return null;
}