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

Issue #3488166 by grimreaper, pdureau: Update prop source priority

parent c6a224bf
Branches
Tags
1 merge request!268Issue #3488166 by grimreaper, pdureau: Update prop source priority
Pipeline #342375 canceled
......@@ -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