← all change records

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

break Target 11.4.x Published 2026-01-19
#3555134 #3555534 #3561135

Generated 2026-08-02 14: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 (166)

Project legacy in_flight migrated installs files adopters
ctools 0 20 1 454,616 1 3
address 0 0 21 116,847 0 2
entity_browser 21 0 0 99,406 1 0
geofield 0 0 16 67,048 0 1
color_field 0 0 13 48,292 0 1
geolocation 0 0 17 46,359 0 1
commerce 0 0 26 37,667 0 2
smart_date 104 0 0 37,535 1 0
typed_data 0 0 13 35,403 0 3
dynamic_entity_reference 0 0 31 30,824 0 1
state_machine 0 0 9 29,748 0 1
simplenews 6 9 0 28,753 1 1
simple_oauth 0 0 12 21,930 0 1
office_hours 0 0 22 21,362 0 2
trash 0 0 3 21,110 0 1
samlauth 0 0 14 18,468 0 1
ai 48 0 0 18,387 1 0
optional_end_date 0 0 10 17,659 0 1
contact_storage 0 0 9 17,385 0 1
field_validation 0 0 12 14,651 0 41
physical 0 0 9 13,691 0 2
book 8 2 9 11,583 2 3
time_field 0 0 16 10,753 0 1
date_recur 0 0 48 8,680 0 1
canvas 0 38 0 8,549 3 13
double_field 16 0 3 8,515 1 1
ui_patterns 7 10 3 7,445 3 5
og 0 0 3 7,428 0 1
workbench_moderation 0 13 0 7,094 2 1
json_field 0 0 10 6,011 0 2
workflow 0 0 22 5,380 0 1
custom_field 61 0 8 4,942 6 1
languagefield 0 0 8 4,338 0 1
country 0 0 13 4,174 0 1
duration_field 0 0 10 4,138 0 3
social_link_field 0 0 5 3,593 0 1
filehash 13 0 0 3,159 1 0
markdown 9 0 0 2,876 1 0
commerce_wishlist 7 0 0 2,753 2 0
preview_link 0 0 9 2,692 0 2
tzfield 0 0 7 2,690 0 1
dimension 0 13 0 2,525 1 1
entity_reference_validators 0 0 12 2,274 0 1
colorapi 0 0 17 2,101 0 2
gdpr 0 1 0 1,995 1 1
entity_hierarchy 0 0 97 1,934 0 2
phone_number 0 0 9 1,695 0 1
commerce_product_tax 0 0 8 1,659 0 1
soundcloudfield 0 0 8 1,461 0 1
field_image_style 0 0 8 1,431 0 1
acquia_dam 0 0 4 1,395 0 1
view_mode_selector 0 0 3 1,050 0 1
file_url 0 0 13 973 0 1
intelligencebank 20 0 0 958 1 0
bigint 0 0 7 957 0 1
mobile_number 0 0 6 925 0 1
machine_name 0 0 2 819 0 1
jsonrpc 0 0 1 801 0 1
entity_extra_field 0 0 11 787 0 1
bootstrap_horizontal_tabs 0 0 20 776 0 1
geo_entity 1 0 0 637 1 0
external_data_source 0 0 9 604 0 1
opigno_certificate 0 0 16 519 0 1
field_group_label 0 0 8 515 0 1
search_overrides 0 0 12 458 0 1
year 0 0 8 457 0 1
ai_integration_eca 0 5 0 441 1 4
tool 4 0 0 433 1 0
ik_constant_contact 0 0 20 414 0 1
coloris 5 0 0 406 1 0
ex_icons 0 0 9 393 0 1
entity_comparison 0 0 14 390 0 1
typed_link 0 0 12 386 0 1
shorthand 0 0 20 382 0 1
ad 0 0 14 361 0 1
dismissible_message_bar 0 0 10 350 0 1
search_api_field_map 0 0 16 348 0 1
colossal_menu 6 0 0 335 1 0
cas_server 0 0 6 327 0 2
datafield 17 0 0 325 2 0
reference_value_pair 14 0 14 289 1 1
context_stack 11 0 0 278 1 0
pluginreference 0 0 21 276 0 2
phonenumber 0 0 8 272 0 1
xnumber 0 0 9 265 0 4
icons 0 0 14 262 0 1
entity_reference_uuid 7 0 7 237 1 1
event 9 0 0 227 1 0
wse 1 0 0 227 1 0
rdf_skos 0 0 3 215 0 1
block_content_machine_name 12 0 0 209 1 0
field_nif 0 0 4 202 0 1
flexfield 0 0 9 178 0 1
kaltura_media 7 0 0 171 1 0
tweet_feed 0 0 6 171 0 1
allow_only_one 0 0 8 167 0 1
triples_field 7 0 0 153 1 0
commerce_product_menu_ui 0 0 4 149 0 1
comment_limit 0 0 6 147 0 1
commerce_product_review 0 0 17 146 0 1
rut 0 0 4 137 0 1
cl_components 4 0 0 132 1 0
lms 19 0 0 131 2 0
number_double 0 0 4 119 0 1
permission_watchdog 3 0 0 110 1 0
link_allowed_hosts 14 0 0 105 1 0
rocketship_core 0 0 174 104 0 4
tripal 0 0 14 99 0 3
issuu_viewer 0 0 9 97 0 1
sendinblue_api 0 0 8 75 0 1
xero 0 18 0 75 10 11
json_template 0 0 6 67 0 1
conditional_rendering 4 0 0 66 1 0
crm 1 0 0 62 2 0
entity_workflow 0 0 6 56 0 1
jsonapi_reference 0 0 9 55 0 1
search_api_federated_solr 0 0 19 42 0 2
template_suggester 0 0 6 41 0 1
patternkit 0 0 37 40 0 1
commerce_recruiting 12 0 0 36 1 0
vgwort 0 0 30 35 0 1
doi_field 0 0 2 33 0 1
commerce_novaposhta 0 0 10 29 0 1
svg_sprite 0 0 17 29 0 1
date_point 17 0 0 22 5 0
simpleavs 0 3 0 21 16 22
moodle_rest 0 0 10 20 0 1
more_fields 0 0 8 19 0 2
bibleref 11 0 0 17 1 0
sshkey 5 0 0 17 1 0
double_reference 7 0 0 16 1 0
mutual_credit 1 0 0 16 1 0
monster_menus 0 0 32 15 0 2
anonymous_author 0 0 9 14 0 1
contacts 0 0 31 14 0 2
user_referral 0 0 20 13 0 1
content_remote_options 0 0 7 12 0 1
field_color 0 0 3 12 0 1
livre 0 7 0 12 2 2
experience_builder 20 37 0 11 5 7
stripe_customer_portal 0 0 3 11 0 1
bridtv 0 0 19 10 0 1
entity_attributes 0 0 4 10 0 1
commerce_partial_payments 0 0 10 9 0 1
modules_info 0 0 8 9 0 1
country_state_field 0 0 1 8 0 1
style_entity 4 0 0 8 1 0
linked_data_field 0 0 10 7 0 1
sendpulse_api 0 0 5 7 0 1
authenticate_by_mail 0 0 7 6 0 1
cl_selector_field 5 0 0 5 1 0
inline_image_saver 0 0 3 5 0 1
social_auth_account_verification 2 0 0 5 1 0
url_text 0 0 5 5 0 2
access_conditions 5 0 0 4 1 0
bsn_field 0 0 9 4 0 1
site 20 0 1 4 1 1
css_size_field 0 0 3 2 0 1
entity_sync 0 0 7 2 0 1
moosend_ems 0 0 5 2 0 1
nested_set 3 0 0 2 1 0
smallads 0 0 1 2 0 1
oembed_field 0 0 2 1 0 1
cefrl 2 0 0 0 1 0
entity_switcher 5 0 5 0 1 1
mastodon 0 0 5 0 0 1