Skip to content

Commit

Permalink
Merge pull request #102 from localgovdrupal/1.x
Browse files Browse the repository at this point in the history
2.0.5 release
  • Loading branch information
finnlewis authored Jun 13, 2024
2 parents c065312 + a89da50 commit 449285d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion localgov_workflows.module
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ function localgov_workflows_menu_local_tasks_alter(&$data, $route_name, Refinabl
}
}

// Rename 'Scheduled transitions' tab to 'Scheduling'.
// Rename 'Scheduled transitions' tab to 'Scheduling' and increase its weight.
if (isset($data['tabs'][0]['entity.scheduled_transition.collection'])) {
$data['tabs'][0]['entity.scheduled_transition.collection']['#link']['title'] = t('Scheduling');
$data['tabs'][0]['entity.scheduled_transition.collection']['#weight'] = 70;
}
if (isset($data['tabs'][0]['scheduled_transitions.tasks:node.scheduled_transitions']['#link']['title'])) {
$title = $data['tabs'][0]['scheduled_transitions.tasks:node.scheduled_transitions']['#link']['title'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ entity.localgov_service_contact.collection:
title: 'Service contacts'
route_name: entity.localgov_service_contact.collection
base_route: system.admin_content
weight: 10
weight: 80

0 comments on commit 449285d

Please sign in to comment.