Document this module's hooks in content_access.api.php

Created on 5 August 2021, almost 3 years ago
Updated 20 September 2023, 9 months ago

Documenting hooks in a .api.php file is best practice for all Drupal modules.

The two hooks provided by Content Access are:

  1. hook_user_acl($settings)
  2. hook_per_node($settings, $node)

As noted in #2581121-4: $node not passed as argument in "per_node" hook β†’ , these really should be renamed. I have opened up a new issue for that. See ✨ Rename hooks to include 'content_access' prefix Postponed . But the first step is to completely document the hooks we have and how we intend them to work.

✨ Feature request
Status

Downport

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024