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