Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Summary: there is no way to modify the title of the View tab that's used for the default node view.
----
I see in the code you have:
if ($details['default_view_page']) {
$have_default_view_tab = TRUE;
$items[] = array(
'href' => 'node/' . $current_node->nid,
'title' => $tab_title,
);
}
I can't seem to figure out how to set that Title. It defaults to 'View'. Help!
Comments
Comment #1
BrockBoland CreditAttribution: BrockBoland commentedThe View tab needs some work: I've been meaning to add an interface to manage this, so that you can change the label for it on each content type.
For the time being though, you can change it on line 195:
Just note that changing that 'title' value will affect all content types.
I'm going to switch this issue to a feature request to track the work for adding that interface.
Comment #1.0
BrockBoland CreditAttribution: BrockBoland commentedUpdated issue summary.