How to alter standard.front_page in module links YML file? I have a menu with a "Home" link which was "provided by the Standard module. The title and path cannot be edited."

I am trying to alter the text/link using my module's links.yml file like so:

standard.front_page:
  title: 'Home Test'
  route_name: '&lt;front&gt;'
  menu_name: main


However this has no affect on the menu link. Other entries in this file work just fine.

Is it possible to alter the link in this way, or is the only option to use one of the menu hooks such as hook_menu_links_discovered_alter
I usually use this the hook_menu_links_discovered_alter() in this way:

/**
 * Implements hook_menu_links_discovered_alter().
 */
function YOUR-MODULE-NAME_menu_links_discovered_alter(&amp;$links) {
   // Changing the title.
   $links['standard.front_page']['title'] = 'Hi';
   // Changing the route.
   $links['standard.front_page']['route_name'] = 'block.admin_display';
}


But it seems that there are another ways in How to update a menu link created with MenuLinkContent::create()? and How do I programmatically update or delete menu items?