This hook is called when an `entityRef` field is rendered in a form, which allows you to modify the parameters used to fetch options for this kind of field.
## Availability
...
...
@@ -14,22 +14,17 @@ This hook is available in CiviCRM 4.7.27+ (maybe depends on the commit).
## Parameters
- @param array $params - parameters of entityRef field
## Details
This hook is called when entityRef field is rendered in form, which allows you to modify the parameters used to fetch options for this kind of field.