- Issue created by @apmsooner
- @apmsooner opened merge request.
- πΊπΈUnited States apmsooner
I don't have time yet to create test but just wanted to get some code up for proposal what I think is a useful feature and get feedback on the idea.
- π³π΅Nepal sandeshyadav Dhangadhi, Kailali
Thank you @apmsooner.
I am not sure about returning full entity as fallback. Returning empty string as fallback looks more suitable to me. Returning full entity might break things while empty string can be handled by devs as long as they know what they are requesting for.
// Render the full entity as fallback. else { $build = $viewBuilder->view($entity, $viewMode); }
- πΊπΈUnited States fathershawn New York
Nice! We need a test and to clean up some lint