2

I have a module that creates a custom node type ("answers") and a custom view mode ("answers_full_node") for that node type.

Now, when I look at the "Manage Display" settings page for any node type, the custom view mode is available.

Is there a way I can restrict it so that it shows up only for my custom node type?

2

No, view modes are per entity type, not per bundle.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.