Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brienne
Developer Documentation
Commits
f49d17df
Commit
f49d17df
authored
7 years ago
by
mattwire
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replace context descriptions with descriptions from buildOptionsContext()
parent
2379eeaa
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/framework/pseudoconstant.md
+6
-6
6 additions, 6 deletions
docs/framework/pseudoconstant.md
with
6 additions
and
6 deletions
docs/framework/pseudoconstant.md
+
6
−
6
View file @
f49d17df
...
...
@@ -47,12 +47,12 @@ The format of an option list needs to be slightly different depending on the con
| Context | Returned Options | Label Field | Key Field |
| --- | --- | --- | --- |
|
`'get`
| All
Including including
disabled | Translated labels | Integer Option Value |
|
`create`
|
All enabled Options and limited to the current domain
| Translated Labels | Integer Option Value |
|
`search`
|
As per create all En
able
d O
ptions
limited to the current domain
| Translated Labels | Integer Option Value |
|
`validate`
| All
included
disabled | machine names | Integer Option Value |
|
`abbreviate`
|
All
Enabled
O
ptions | Abbreviations of labels | Integer Option Value |
|
`match`
|
All Options including Disabled
| Translated Labels | Machine Names |
|
`'get`
| All
options are returned, even if they are
disabled | Translated labels | Integer Option Value |
|
`create`
|
Options are filtered appropriately for the object being created/updated
| Translated Labels | Integer Option Value |
|
`search`
|
Search
able
o
ptions
are returned
| Translated Labels | Integer Option Value |
|
`validate`
| All
options are returned, even if they are
disabled | machine names | Integer Option Value |
|
`abbreviate`
| Enabled
o
ptions
are returned
| Abbreviations of labels | Integer Option Value |
|
`match`
|
Enabled options are returned using machine names as keys
| Translated Labels | Machine Names |
*
Abbreviate is only applicable at present to
`state_province_id`
and
`country_id`
fields
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment