I have created a super-simple drupal 8 custom entity. We now need a custom view mode for this entity. What do I need to add to my definition to make my entity appear as an option on the 'Add View Mode' page: /admin/structure/display-modes/view/add ?
My super-simple entity definition is
* @ContentEntityType(
* id = "schedulecal",
* label = @Translation("ScheduleCalendar"),
* base_table = "scheduler_entity_calendars",
* entity_keys = {
* "id" = "id",
* "uuid" = "uuid",
* },
* )
I can't find this info anywhere in doc.