When using the "Rendered entity" field formatter for an entity display, there's a drop-down where you can select the view mode.

Is there a way (programmatically or otherwise) to add settings to a particular view mode? I want to add a checkbox that will display or hide a particular section of the rendered output.

I know I could create another view mode, but that does seem an overkill for something that's otherwise identical.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.