Open erik-seifert opened 4 years ago
In Drupal 8.7 there is no #entity_type variable in hook_preprocess_HOOK . But the entity is already there and so we can use the object directly.
#entity_type
hook_preprocess_HOOK
In Drupal 8.7 there is no
#entity_type
variable inhook_preprocess_HOOK
. But the entity is already there and so we can use the object directly.