civicrm / org.civicrm.api4

CiviCRM api version 4
Other
8 stars 19 forks source link

Add "Route.get" API #165

Closed totten closed 5 years ago

totten commented 5 years ago

This makes it easier to examine the list of HTTP routes (aka "menu" items).

Screen Shot 2019-06-13 at 1 50 01 PM
colemanw commented 5 years ago

Looks great. If CRM_Core_Menu::items() returned an array with the key "path" then we wouldn't even need a separate getter function.