X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FEntity.php;h=3d362edfe930e9bc4bec7fcb5002561152cb9c97;hb=34751e696143159f20566d1f8ec0ed619e8ce0ce;hp=b65738f43417fa0dc23c6dff423643891bdf01b9;hpb=15244a15dc1e00ff1b1f264df02c2b8824a8951f;p=civicrm-core.git diff --git a/Civi/Api4/Entity.php b/Civi/Api4/Entity.php index b65738f434..3d362edfe9 100644 --- a/Civi/Api4/Entity.php +++ b/Civi/Api4/Entity.php @@ -71,6 +71,10 @@ class Entity extends Generic\AbstractEntity { 'name' => 'dao', 'description' => 'Class name for dao-based entities', ], + [ + 'name' => 'table_name', + 'description' => 'Name of sql table, if applicable', + ], [ 'name' => 'primary_key', 'data_type' => 'Array', @@ -114,6 +118,11 @@ class Entity extends Generic\AbstractEntity { 'data_type' => 'String', 'description' => 'PHP class name', ], + [ + 'name' => 'class_args', + 'data_type' => 'Array', + 'description' => 'Arguments needed by php action factory functions (used when multiple entities share a class, e.g. CustomValue).', + ], [ 'name' => 'bridge', 'data_type' => 'Array',