- 🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7
Is anyone able to trace what causing this issue?
I don't think it makes sense to have no view mode, core's entity view builder itself has
full
default value.public function view(EntityInterface $entity, $view_mode = 'full', $langcode = NULL); public function viewMultiple(array $entities = [], $view_mode = 'full', $langcode = NULL);
doesn't it will give a problem later if the view mode is NULL?
- Status changed to Needs review
about 1 year ago 4:53pm 18 September 2023 - 🇧🇪Belgium siemen_hermans
Patch made compatible with hook_event_dispatcher 4.0.1
- 🇧🇪Belgium siemen_hermans
Patch made compatible with hook_event_dispatcher 4.0.2
- 🇧🇪Belgium aurelievndl_e1
Patch made compatible with hook_event_dispatcher 4.2.0
- 🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7
Postponing as this possibly due to custom code or other contrib modules. The view mode isn't meant to be null, core itself have 'full' for default value.