Entity standards¶
The following standards apply to entities in CiviCRM:
- Declare entities via an
.entityType.phpfile. - Give each entity a
title,title_plural,iconanddescription. - Give each field a
titleandinput_type. - Whenever possible rely on the
CiviMix\AutomaticUpgraderto install & uninstall tables without writing any sql.
Further documentation is found in the CiviCRM Entities chapter.