Comments

anavarre’s picture

Hard to keep up with every single change...here's the latest and greatest for hook_menu()'s replacement: hook_menu_link_defaults() moved to *.menu_links.yml files

anavarre’s picture

StatusFileSize
new930 bytes

Here's the most basic patch to simply get to the configuration page (for instance for those who would be willing to RTBC #2216991: config.context.free service has been removed) and add the required YAML files for further work:

  • oauth.menu_links.yml
  • oauth.local_tasks.yml

Don't forget to rebuild caches to see the changes.

anavarre’s picture

Status: Needs work » Needs review
anavarre’s picture

StatusFileSize
new2.13 KB

Added oauth.user_consumer (local task) as well as oauth.user_consumer_add / oauth.user_consumer_delete so that we can now click around in the user profile's OAuth settings and add/remove consumers.

anavarre’s picture

Title: Remove hook_menu() in favor of hook_menu_link_defaults() » Remove hook_menu() in favor of new YAML-formatted menu entries
anavarre’s picture

StatusFileSize
new2.63 KB

Cleanup.

  • juampy committed 39429bf on 8.x-1.x authored by anavarre
    Issue #2224937 by anavarre: Fixed Remove hook_menu() in favor of new...
juampynr’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

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