← all change records

#3554746 Constraint plugins must use named arguments instead of an options array

released Target 11.4.x

Generated 2026-09-22 02:00 UTC

Matching rules (5)

  • from: any_of: - types: - _ - string - types: - _ - int - types: - _ - const - types: - _ - new - types: - _ - var - types: - _ - expr arity_min: 2 fqn: '\Drupal\Component\Plugin\Context\ContextDefinitionInterface::addConstraint' to: any_of: - types: - _ - array - types: - _ - 'null' arity_min: 2 fqn: '\Drupal\Component\Plugin\Context\ContextDefinitionInterface::addConstraint'
  • from: any_of: - types: - _ - string - types: - _ - int - types: - _ - const - types: - _ - new - types: - _ - var - types: - _ - expr arity_min: 2 fqn: '\Drupal\Core\Entity\EntityTypeInterface::addConstraint' to: any_of: - types: - _ - array - types: - _ - 'null' arity_min: 2 fqn: '\Drupal\Core\Entity\EntityTypeInterface::addConstraint'
  • from: any_of: - types: - _ - string - types: - _ - int - types: - _ - const - types: - _ - new - types: - _ - var - types: - _ - expr arity_min: 2 fqn: '\Drupal\Core\Field\FieldConfigInterface::addConstraint' to: any_of: - types: - _ - array - types: - _ - 'null' arity_min: 2 fqn: '\Drupal\Core\Field\FieldConfigInterface::addConstraint'
  • from: any_of: - types: - _ - string - types: - _ - int - types: - _ - const - types: - _ - new - types: - _ - var - types: - _ - expr arity_min: 2 fqn: '\Drupal\Core\TypedData\DataDefinitionInterface::addConstraint' to: any_of: - types: - _ - array - types: - _ - 'null' arity_min: 2 fqn: '\Drupal\Core\TypedData\DataDefinitionInterface::addConstraint'
  • from: any_of: - types: - _ - string - types: - _ - int - types: - _ - const - types: - _ - new - types: - _ - var - types: - _ - expr arity_min: 2 fqn: '\Drupal\Core\Validation\ConstraintManager::create' to: any_of: - types: - _ - array - types: - _ - 'null' arity_min: 2 fqn: '\Drupal\Core\Validation\ConstraintManager::create'

Affected contrib projects (183)

Project legacy in_flight migrated installs files adopters
ctools 0 4 1 448,320 1 3
address 0 0 4 110,624 2 2
entity_browser 3 0 0 99,237 1 1
geofield 0 0 2 63,666 0 1
color_field 0 0 2 46,817 1 1
geolocation 0 0 2 42,459 0 1
commerce 0 0 4 36,840 2 2
smart_date 22 0 0 34,444 1 0
typed_data 0 0 3 33,992 0 3
state_machine 0 0 1 29,343 1 1
dynamic_entity_reference 0 0 4 28,860 1 1
simplenews 1 1 0 28,675 1 1
simple_oauth 0 0 3 23,718 1 1
trash 0 0 0 23,141 1 1
eca 0 0 0 19,931 3 3
office_hours 0 0 4 18,911 2 2
samlauth 0 0 4 18,462 0 1
ai 25 0 0 17,818 1 0
contact_storage 0 0 1 16,739 0 1
optional_end_date 0 0 2 16,731 1 1
bpmn_io 0 0 0 14,664 1 1
field_validation 0 0 2 14,534 0 41
physical 0 0 1 13,943 2 2
book 3 1 0 10,889 4 4
time_field 0 0 2 10,063 1 1
media_entity_twitter 0 0 0 9,144 1 1
date_recur 0 0 15 9,102 0 1
ui_icons 0 0 1 8,746 0 1
canvas 0 18 0 8,315 12 15
media_entity_instagram 0 0 0 8,075 1 1
ui_patterns 0 2 1 7,804 3 7
double_field 3 0 1 7,429 1 1
og 0 0 1 6,906 1 1
workbench_moderation 0 5 0 5,955 2 1
json_field 0 0 2 5,936 2 2
lightning_media 0 0 0 5,794 2 2
workflow 0 0 3 5,412 0 1
country 0 0 3 4,248 1 1
duration_field 0 0 2 3,881 3 3
social_link_field 0 0 2 3,706 1 1
languagefield 0 0 1 3,685 1 1
filehash 1 0 0 3,240 1 1
paragraph_blocks 0 0 3 3,058 0 1
markdown 2 0 0 2,826 1 1
commerce_wishlist 1 0 0 2,807 2 0
custom_field 7 0 1 2,776 6 1
preview_link 0 0 3 2,707 0 2
tzfield 0 0 0 2,621 1 1
onlyone 0 0 0 2,618 1 1
colorapi 0 0 6 2,419 1 2
dimension 0 3 0 2,249 1 1
entity_hierarchy 0 0 32 1,953 1 2
entity_reference_validators 0 0 4 1,816 0 1
commerce_product_tax 0 0 1 1,671 1 1
phone_number 0 0 2 1,632 0 1
soundcloudfield 0 0 3 1,501 1 1
field_image_style 0 0 2 1,345 0 1
acquia_dam 0 0 2 1,343 0 1
tool 1 0 0 1,240 1 1
ai_integration_eca 0 1 0 1,040 1 4
varbase_media 0 0 0 1,020 4 4
opigno_certificate 0 0 4 1,015 0 1
view_mode_selector 0 0 1 1,013 0 1
bigint 0 0 2 979 1 1
machine_name 0 0 1 894 1 1
mobile_number 0 0 2 885 0 1
bootstrap_horizontal_tabs 0 0 5 846 1 1
entity_extra_field 0 0 2 827 1 1
media_entity_pinterest 0 0 0 811 1 1
intelligencebank 8 0 0 787 1 1
media_entity_facebook 0 0 0 767 1 1
geo_entity 1 0 0 686 1 1
ggroup 0 0 0 623 1 1
table_of_contents 0 0 2 568 0 1
field_group_label 0 0 3 500 1 1
vote_up_down 0 0 0 482 1 1
file_url 0 0 3 465 1 1
year 0 0 1 437 1 1
external_data_source 0 0 4 419 1 1
coloris 1 0 0 409 1 1
typed_link 0 0 4 380 0 1
search_overrides 0 0 3 378 0 1
ad 0 0 3 361 0 1
ik_constant_contact 0 0 3 361 0 1
datafield 3 0 0 359 2 2
entity_comparison 0 0 4 353 1 1
reference_value_pair 7 0 7 343 1 1
pluginreference 0 0 4 339 1 2
dismissible_message_bar 0 0 1 332 1 1
wse 1 0 0 332 2 2
shorthand 0 0 4 331 1 1
colossal_menu 1 0 0 305 1 0
ex_icons 0 0 1 305 0 1
phonenumber 0 0 2 296 1 1
search_api_field_map 0 0 6 265 1 1
cas_server 0 0 2 262 0 2
xnumber 0 0 2 261 4 4
context_stack 1 0 0 259 1 1
group_permissions 0 0 0 254 1 1
entity_reference_uuid 2 0 2 228 2 1
rdf_skos 0 0 1 222 1 1
event 2 0 0 220 1 0
block_content_machine_name 3 0 0 215 1 0
icons 0 0 2 215 0 1
field_nif 0 0 2 199 1 1
allow_only_one 0 0 3 196 1 1
lms 4 0 0 196 2 0
entity_workflow 0 0 1 170 1 1
flexfield 0 0 2 160 1 1
tweet_feed 0 0 2 158 1 1
kaltura_media 2 0 0 154 1 1
comment_limit 0 0 2 148 0 1
commerce_product_menu_ui 0 0 1 141 1 1
triples_field 1 0 0 137 1 1
rut 0 0 1 130 1 1
commerce_product_review 0 0 6 127 1 1
pdfa11y 0 0 0 122 2 2
number_double 0 0 1 121 2 2
group_context_domain 0 0 0 120 1 1
link_allowed_hosts 4 0 0 115 1 0
permission_watchdog 1 0 0 113 1 1
issuu_viewer 0 0 2 110 1 1
cl_components 2 0 0 99 1 1
rocketship_core 0 0 52 92 2 4
tripal 0 0 11 89 3 3
content_moderation_info_block 3 0 0 85 1 0
sendinblue_api 0 0 1 77 0 1
vgwort 0 0 8 72 1 1
crm 0 0 0 63 2 2
conditional_rendering 1 0 0 62 1 1
jsonapi_reference 0 0 2 58 1 1
xero 0 4 0 57 10 11
search_api_federated_solr 0 0 7 52 2 2
json_template 0 0 1 50 0 1
doi_field 0 0 2 45 1 1
commerce_recruiting 3 0 0 36 1 0
template_suggester 0 0 3 35 1 1
contacts 0 0 14 33 1 2
date_point 2 0 0 33 5 5
patternkit 0 0 25 32 0 1
commerce_novaposhta 0 0 2 31 1 1
svg_sprite 0 0 3 28 1 1
moodle_rest 0 0 5 24 1 1
more_fields 0 0 1 22 2 2
monster_menus 0 0 10 21 0 2
simpleavs 0 0 0 21 31 31
double_reference 3 0 0 18 1 0
bibleref 2 0 0 17 1 0
sshkey 1 0 0 17 1 1
modules_info 0 0 1 15 0 1
content_remote_options 0 0 2 14 0 1
field_color 0 0 1 11 1 1
entity_attributes 0 0 1 10 0 1
media_entity_carto 0 0 0 10 1 1
user_referral 0 0 3 10 1 1
commerce_partial_payments 0 0 2 8 1 1
stripe_customer_portal 0 0 2 8 1 1
bridtv 0 0 6 7 1 1
sendpulse_api 0 0 2 7 0 1
anonymous_author 0 0 1 6 1 1
experience_builder 10 9 0 6 21 21
livre 0 1 0 6 4 4
social_auth_account_verification 1 0 0 6 1 0
authenticate_by_mail 0 0 3 5 0 1
inline_image_saver 0 0 1 5 1 1
linked_data_field 0 0 1 5 1 1
style_entity 1 0 0 5 1 0
url_text 0 0 2 5 2 2
access_conditions 2 0 0 4 1 0
cl_selector_field 2 0 0 4 1 1
bsn_field 0 0 3 3 1 1
css_size_field 0 0 1 3 1 1
site 5 0 1 3 1 2
country_state_field 0 0 0 2 1 1
entity_sync 0 0 2 2 1 1
cloud 0 0 0 1 1 1
entity_switcher 1 0 1 1 2 1
mastodon 0 0 2 1 1 1
moosend_ems 0 0 1 1 0 1
nested_set 1 0 0 1 1 0
cefrl 0 0 0 0 1 1
luzmo_viewer 0 0 0 0 1 1
oembed_field 0 0 1 0 1 1