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.
It would be great to hook into the oa_core_visibility_data function.
My use case:
I want to exclude js depending on the visibility of the node.
Currently I can use hook_js_alter but I have to reload the node.
it would be great to have a hook function where I do not have to reload the node datatype but just pass it into a function that I need.
Comments
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commented