Merge pull request #18237 from mattwire/mailingsearchcolumns
[civicrm-core.git] / Civi / Api4 / Entity.php
index 17b17f45c7892db79283078d8939c2b8b955744c..49f39859ecc6b090f4326dc14a5f784aa9b5e9bd 100644 (file)
@@ -14,8 +14,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  */
 
 
@@ -54,6 +52,11 @@ class Entity extends Generic\AbstractEntity {
           'name' => 'title',
           'description' => 'Localized title',
         ],
+        [
+          'name' => 'type',
+          'description' => 'Base class for this entity',
+          'options' => ['DAOEntity' => 'DAOEntity', 'BasicEntity' => 'BasicEntity', 'BridgeEntity' => 'BridgeEntity', 'AbstractEntity' => 'AbstractEntity'],
+        ],
         [
           'name' => 'description',
           'description' => 'Description from docblock',