By steven jones on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
2.1.x
Introduced in version:
2.1.0
Issue links:
Description:
Two hooks provided by Content Access were:
hook_user_acl(array $view, array $view_own, array $update, array $update_own, array $delete, array $delete_own)hook_per_node(array $settings, Drupal\node\NodeInterface $node)
From 3.0.0 they have been trivially renamed to:
hook_content_access_user_acl(array $view, array $view_own, array $update, array $update_own, array $delete, array $delete_own)hook_content_access_per_node(array $settings, Drupal\node\NodeInterface $node)
Respectively.
No other changes to the hooks were made.
2.1.0 introduced the newly named hooks, and invokes both named versions of the hooks, first the older names, and then the newer names.
3.0.0 will only call the newly named versions.
Impacts:
Module developers