function social_album_menu_local_tasks_alter in Open Social 10.3.x
Implements hook_social_path_manager_group_tabs_alter().
File
- modules/
social_features/ social_album/ social_album.module, line 104 - The Social Album module.
Code
function social_album_menu_local_tasks_alter(&$data, $route_name, RefinableCacheableDependencyInterface $cacheability) {
// Move Album to the end of the list.
if (!empty($data['tabs'][0]['social_album.group'])) {
$data['tabs'][0]['social_album.group']['#weight'] = 200;
}
}