Drupal8/Backdrop: Bad URL on ACL page linking to CMS permissions
CRM_Admin_Page_Access::run()
attempts to generate a URL to the CMS permission page. It uses a switch to give a CMS-specific URL.
I wrote a Backdrop and D8-specific code, using url()
and \Drupal\Core\Url::fromUri()
respectively - but I think this is overcomplicated. Couldn't we just pass a string instead? Or is there some oddball situation (multi-site?) where you need to generate the URL using the Drupal-specific functions?