-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Allow getting resource name from resource manager (#940)
The ResourceManager class provides methods to get version information and even create a new instance of a plugin based on the current request. However, the methods that help in getting the resource id (such as ::getMenuItem and getPageArguments) are protected. Since we are already able to get information on version, we should also be able to get the resource id using the resource manager class. This commit adds a method to do that.
- Loading branch information
1 parent
8bac122
commit 101acd6
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters