Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_patterns
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_patterns
Commits
36e86c3b
Commit
36e86c3b
authored
6 months ago
by
Florent Torregrosa
Browse files
Options
Downloads
Plain Diff
Merge branch '3488166-update-prop-source' into '2.0.x'
Issue
#3488166
by grimreaper, pdureau: Update prop source priority See merge request
!268
parents
c6a224bf
c38d4dea
No related branches found
No related tags found
No related merge requests found
Pipeline
#342221
passed
6 months ago
Stage: build
Stage: validate
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Plugin/UiPatterns/PropType/EnumListPropType.php
+1
-1
1 addition, 1 deletion
src/Plugin/UiPatterns/PropType/EnumListPropType.php
src/Plugin/UiPatterns/PropType/ListPropType.php
+2
-1
2 additions, 1 deletion
src/Plugin/UiPatterns/PropType/ListPropType.php
with
3 additions
and
2 deletions
src/Plugin/UiPatterns/PropType/EnumListPropType.php
+
1
−
1
View file @
36e86c3b
...
...
@@ -18,7 +18,7 @@ use Drupal\ui_patterns\PropTypePluginBase;
description
:
new
TranslatableMarkup
(
'Ordered list of predefined string or number items.'
),
default_source
:
'selects'
,
schema
:
[
'type'
=>
'array'
,
'items'
=>
[
'type'
=>
[
'string'
,
'number'
,
'integer'
],
'enum'
=>
[]]],
priority
:
1
priority
:
5
,
)]
class
EnumListPropType
extends
PropTypePluginBase
{
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/UiPatterns/PropType/ListPropType.php
+
2
−
1
View file @
36e86c3b
...
...
@@ -21,7 +21,8 @@ use Drupal\ui_patterns\PropTypePluginBase;
'items'
=>
[
'type'
=>
[
'string'
,
'number'
,
'integer'
],
],
]
],
priority
:
1
,
)]
class
ListPropType
extends
PropTypePluginBase
{
...
...
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