How to Determine a View Row's Content Type I'm putting together a view with multiple content types. In my my_theme.theme file I want to set the template suggestion based on the item's content type (e.g. Content-Type-A gets Template-A.twig and Content-Type-B gets Template-B.twig). Digging through the $variables[] array I can't find if or where there is an element that specifies the content type for the current view row.

Does any know how I may determine the content type of view row in the $variables[] array? If it's not in there what's the best way of adding it?

Thanks!
Create a new display mode and use this display mode on the view. then each of this display mode can be altered in admin or custom template can be made.