v1/vendor/chi-teck/drupal-code-generator/templates/hook/toolbar_alter.twig

8 lines
173 B
Twig

/**
* Implements hook_toolbar_alter().
*/
function {{ machine_name }}_toolbar_alter(&$items) {
// Move the User tab to the right.
$items['commerce']['#weight'] = 5;
}