Please sign in to comment.
Allow content to control what field and screens it is displayed in.
Content classes now include a can_display_in? method which contains the logic we use to see if a piece of content should be rendered in a specific <screen, field>. To provide parity with the default behavior, we simply make sure that the Field.Kind == Content.Kind.
- Loading branch information...
Showing with 10 additions and 1 deletion.