function hook_uc_order_actions_alter in Ubercart 8.4
Same name and namespace in other branches
- 7.3 uc_order/uc_order.api.php \hook_uc_order_actions_alter()
Allows the local task icons for orders to be altered.
Parameters
array &$actions: A set of actions as defined in hook_uc_order_actions().
\Drupal\uc_order\OrderInterface $order: An order object.
1 invocation of hook_uc_order_actions_alter()
- uc_order_actions in uc_order/
uc_order.module - Returns the actions a user may perform on an order.
File
- uc_order/
uc_order.api.php, line 72 - Hooks provided by the Order module.
Code
function hook_uc_order_actions_alter(array &$actions, OrderInterface $order) {
$actions['view']['title'] = t('Display');
}