getRabbitHoleValuesForEntity() removed in v2

Created on 19 December 2023, over 1 year ago
Updated 13 February 2024, about 1 year ago

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

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024