Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2026 at 15:38 UTC
Updated:
7 Aug 2026 at 15:46 UTC
Jump to comment: Most recent
myrest.module still calls \Drupal::urlGenerator(), \Drupal::service('module_handler'), \Drupal::token() and \Drupal::logger(). In procedural hooks these calls are sometimes unavoidable, but most of this logic belongs in a service.
Url::fromRoute() in hook_help() instead of the URL generator.Extract the logic and add unit tests for the new service.
None.
New service for menu link URI handling.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented