Details
-
Story
-
Resolution: Won't Fix
-
Medium
-
5.1
Description
In many cases you need to have access to the ContentType of a given Content object (like in a view template).
This would let the developer check the content type identifier, or if the content type is a container or not.
Example of helper:
{% set contentType = ez_contenttype_by_content( content ) %}