Added a function to assist with user_access checking (for menu purposes) called mymodule_user_access(). Coder warns about the parameters not matching up with those for hook_access.

Parameters to hook_access() have changed (Drupal Docs)

The Coder rules should check for "function mymodule_access" not simply "function anyword_access."

Comments

stella’s picture

Status: Active » Closed (duplicate)