-
Notifications
You must be signed in to change notification settings - Fork 56
[GOVCMSD8-599] Add rest_menu_items module #441
base: 1.x
Are you sure you want to change the base?
Conversation
|
There is a major issue with version 8.x-2.9 (the latest stable version so far) that causes a fatal 500 error while trying to find uuid parameter from routed url. More information about this bug: https://www.drupal.org/project/rest_menu_items/issues/3085497 The patch to fix it: https://www.drupal.org/files/issues/2019-10-03/3085497-Check-for-entity-type-when-getting-uuid.patch The module maintainer has already added this path into the develop branch which means it will be fixed with next stable release of this module. |
|
PHP 7.3 compatibility issues:
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 3 | WARNING | 'resource' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 3 | WARNING | 'resource' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE) |
|
The latest stable release (rest_menu_items 3.0.1) fixed following issues:
Those two minor PHP 7.3 compatibility issues are actually coming from Drupal plugin namespace. Nothing need to do with this module. |
drupal-spider
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Known issues have been addressed.
This enables to have a json output from an existing Drupal menu as a rest endpoint (e.g. "/api/menu_items/main"). A good use-case is to integrate the menu structure while using any component based design.