Commit 019fc4a3 authored by eileen's avatar eileen 🎱
Browse files

Add pseudoconstant prefetch option

parent 169c34e9
......@@ -154,7 +154,13 @@ Tags acceptable within `<table>` / `<field>` / `<html>`
## `<table>` / `<field>` / `<pseudoconstant>` {:#table-field-pseudoconstant}
Pseudoconstant settings tells the code how to determine the valid options for the field value and must be specified by using *one* of the following *three* methodologies:
Pseudoconstant settings tells the code how to determine the valid options for the field value. There is one tag to denote how to load the options in apiv4.
| Tag | Contains | Example | Acceptable<br>Instances | Purpose |
| -- | -- | -- | -- | -- |
| `<prefetch>` | bool | `FALSE` | 1 | Should the options for these fields be pre-fetched for UI elements. This defaults to TRUE but can be set to FALSE where it is likely there will be many options |
The options must be specified by using *one* of the following *three* methodologies:
### Using the `civicrm_option_value` table
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment