X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FGeneric%2FAbstractAction.php;h=965c5fc7242a4b57568a7d6763a35da548e45353;hb=2497964e4e334f32c55c84c48f48178658e386cf;hp=d81c9aa33a20e481c013b8c0de8920694cde85db;hpb=97b52bf88b5175c339592845ab061ad44b8ee812;p=civicrm-core.git diff --git a/Civi/Api4/Generic/AbstractAction.php b/Civi/Api4/Generic/AbstractAction.php index d81c9aa33a..965c5fc724 100644 --- a/Civi/Api4/Generic/AbstractAction.php +++ b/Civi/Api4/Generic/AbstractAction.php @@ -383,12 +383,13 @@ abstract class AbstractAction implements \ArrayAccess { /** * Returns schema fields for this entity & action. * - * Here we bypass the api wrapper and execute the getFields action directly. + * Here we bypass the api wrapper and run the getFields action directly. * This is because we DON'T want the wrapper to check permissions as this is an internal op, * but we DO want permissions to be checked inside the getFields request so e.g. the api_key * field can be conditionally included. * @see \Civi\Api4\Action\Contact\GetFields * + * @throws \API_Exception * @return array */ public function entityFields() {