Active
Project:
Rabbit Hole
Version:
2.0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2023 at 14:10 UTC
Updated:
30 Mar 2026 at 10:39 UTC
Jump to comment: Most recent
Hello
I've updated v1 to v2 and this function has been removed
\Drupal::service('rabbit_hole.behavior_invoker')->getRabbitHoleValuesForEntity($entity)
I use this function to get "rh_action" from entity and change display of an entity.
I've not found any issue about that.
Any solution?
Thank a lot
Comments
Comment #2
binnythomas commentedI am looking for a solution to this too. We are getting a WSOD after upgrading to the latest version of the module when our custom code is triggered this function.
Comment #3
binnythomas commentedIn the latest version how do we know the equivalent of 'rh_action' ?
Comment #4
binnythomas commentedI was referring to the release notes and I was able to get this issue with helpful instructions for custom code - https://www.drupal.org/node/3359194
Comment #5
damienmckennaComment #6
damienmckennaThe release notes need to be updated to cover this.