Problem/Motivation
The module has no .install file. There is no installation-time validation that the authentication tokens have been configured (the shipped values are REPLACE_WITH_SECURE_... placeholders), and uninstalling leaves configuration behind.
Proposed resolution
- Implement
hook_requirements()warning when placeholder tokens or an insecure hash algorithm are still in use. - Implement
hook_uninstall()to remove module configuration and state entries. - Add a status report entry summarising the API configuration.
Remaining tasks
Create the install file and cover it with a kernel test.
User interface changes
New entries on the Status report page.
API changes
None
Issue fork myrest-3615511
Show commands
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