Problem/Motivation

No route exists to resolve update.php to a path. Update.php needs to be able to run outside of Drupal as always but still needs a way to resolve its path within Drupal without the need for globals, such as in the hook_help() within this module.

Proposed resolution

Add a new route "system.update" to system.routing.yml with only a path to "/core/update.php".

CommentFileSizeAuthor
#1 drupal8.system-module.2109553-1.patch412 byteslostkangaroo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lostkangaroo’s picture

Status: Active » Needs review
FileSize
412 bytes

Initial manual tests show that this works as intended.

neclimdul’s picture

Status: Needs review » Reviewed & tested by the community

Pretty straight forward. We could use url() to build this but the services backing that are deprecated so this is how we can build these urls using Drupal::url()

reference issue for updating system_help() #2091363: Update hook_help for System module

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.