• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/grid/panel/ui/elementpanelprovider.php
  • Класс: BitrixIblockGridPanelUIElementPanelProvider
  • Вызов: ElementPanelProvider::prepareActions
public function prepareActions(): array
{
	$result = [];

	if ($this->rights->canEditElements())
	{
		$result[] = new EditActionsItem($this->getIblockId(), $this->columns, $this->rights);
	}

	if ($this->rights->canDeleteElements())
	{
		$result[] = new RemoveActionsItem($this->getIblockId(), $this->rights);
	}

	$result[] = new ElementGroupActionsItem($this->getIblockId(), $this->rights);

	if (!empty($result))
	{
		$result[] = new ForAllCheckboxAction();
	}

	return $result;
}