Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: https://api.drupal.org/api/drupal/core!modules!node!node.module/group/no...
The Node access rights API page says, "To see how to write a node access module of your own, see node_access_example.module." But it's not hyperlinked to anything, there is no such module in the codebase, and a few searches turned up no such thing for Drupal 8 elsewhere on the web. If anyone can tell me whether the line needs to be changed to something else or removed I'll be happy to write a patch for it.
Comments
Comment #2
jhodgdonThat module is in the Examples for Developers project, and we've had a habit in the past of linking directly to modules and functions in that project even though they are not in Drupal Core.
See https://drupal.org/project/examples
I don't know if we have the 8.x Examples module on api.drupal.org; moving to the apidrupalorg project to check on the links. The API module is capable of making them, but the Examples project may not be set up correctly so that this happens.
Comment #3
drummhttps://api.drupal.org/api/examples/8 is there and is using:
Comment #4
jhodgdonOK, I'll assign this to me to look into why the link is not being made. I think if the API module config is working correctly, the link *should* be made, but maybe either the API module config isn't right or the API module isn't making the link for some other reason.
Comment #5
jhodgdonOh, never mind. There isn't a Node Access example module for 8 (yet).
See #2102667: Port node_access_example module to Drupal 8. This issue is therefore a duplicate of that. I don't think we should remove the link, since when/if that module is ported, the link should hopefully work.