Admin Order Buttons:
This hook is used to generate the buttons collection on the order view page (see ActionsBarButtonsCollection)
Hook locations:
Hook type: action
Located in:
<?php
array(
'controller' => (OrderController) Symfony controller,
'id_order' => (int) Order ID,
'actions_bar_buttons_collection' => (ActionsBarButtonsCollection) Collection of ActionsBarButtonInterface
);
dispatchHook(
'actionGetAdminOrderButtons',
[
'controller' => $this,
'id_order' => $orderId,
'actions_bar_buttons_collection' => $back officeOrderButtons,
]
)
This hook has been implemented as an example in our modules examples repository - demovieworderhooks.