Skip to content
Snippets Groups Projects
Commit 36e86c3b authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

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
......@@ -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 {
......
......@@ -21,7 +21,8 @@ use Drupal\ui_patterns\PropTypePluginBase;
'items' => [
'type' => ['string', 'number', 'integer'],
],
]
],
priority: 1,
)]
class ListPropType extends PropTypePluginBase {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment