When a Custom Entity Beats a Content Type in Drupal
Content type or custom entity? A practical decision framework for Drupal's Entity API, with a worked inspection-record example, EntityQuery usage, and honest trade-offs.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Content type or custom entity? A practical decision framework for Drupal's Entity API, with a worked inspection-record example, EntityQuery usage, and honest trade-offs.
I am designing a Drupal 10 site where a custom entity type (defined via the Entity API, with two bundles and several fielded sub-resources) must be exposed through both a Views "Entity list" display for site visitors and a JSON:API endpoint provided by the RESTful Web Services module for an external client application. The integration concern is access contr