Skip to content

Entity standards

The following standards apply to entities in CiviCRM:

  1. Declare entities via an .entityType.php file.
  2. Give each entity a title, title_plural, icon and description.
  3. Give each field a title and input_type.
  4. Whenever possible rely on the CiviMix\AutomaticUpgrader to install & uninstall tables without writing any sql.

Further documentation is found in the CiviCRM Entities chapter.