← 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-06-03 14:00 UTC

Matching rules (5)

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

Affected contrib projects (156)

Project legacy in_flight migrated installs files adopters
ctools 0 4 1 462,597 1 3
address 0 0 4 117,054 0 2
entity_browser 3 0 0 100,376 1 0
geofield 0 0 2 66,928 0 1
color_field 0 0 2 48,386 0 1
geolocation 0 0 2 45,454 0 1
commerce 0 0 4 38,572 0 2
typed_data 0 0 3 36,736 0 3
smart_date 22 0 0 36,656 1 0
state_machine 0 0 1 31,127 0 1
simplenews 1 1 0 29,437 1 1
dynamic_entity_reference 0 0 4 29,311 0 1
simple_oauth 0 0 3 21,401 0 1
office_hours 0 0 4 19,176 0 2
contact_storage 0 0 1 19,037 0 1
samlauth 0 0 4 16,613 0 1
optional_end_date 0 0 2 15,778 0 1
ai 25 0 0 15,430 1 0
field_validation 0 0 2 15,181 0 41
physical 0 0 1 13,923 0 2
time_field 0 0 2 9,910 0 1
date_recur 0 0 15 8,852 0 1
book 3 1 0 8,033 2 3
og 0 0 1 7,735 0 1
ui_patterns 0 2 1 7,510 3 5
double_field 3 0 1 7,355 1 1
workbench_moderation 0 5 0 7,015 2 1
json_field 0 0 2 5,670 0 2
canvas 0 18 0 5,503 3 13
workflow 0 0 3 5,395 0 1
country 0 0 3 4,599 0 1
duration_field 0 0 2 4,162 0 3
languagefield 0 0 1 3,606 0 1
social_link_field 0 0 2 3,490 0 1
markdown 2 0 0 3,215 1 0
preview_link 0 0 3 2,769 0 2
filehash 1 0 0 2,672 1 0
custom_field 7 0 1 2,601 6 1
commerce_wishlist 1 0 0 2,195 2 0
colorapi 0 0 6 2,191 0 2
entity_hierarchy 0 0 32 2,161 0 2
dimension 0 3 0 2,031 1 1
commerce_product_tax 0 0 1 1,781 0 1
phone_number 0 0 2 1,752 0 1
soundcloudfield 0 0 3 1,503 0 1
entity_reference_validators 0 0 4 1,484 0 1
field_image_style 0 0 2 1,466 0 1
acquia_dam 0 0 2 1,446 0 1
file_url 0 0 3 1,350 0 1
bigint 0 0 2 1,083 0 1
view_mode_selector 0 0 1 1,060 0 1
mobile_number 0 0 2 999 0 1
entity_extra_field 0 0 2 870 0 1
machine_name 0 0 1 844 0 1
bootstrap_horizontal_tabs 0 0 5 785 0 1
intelligencebank 8 0 0 779 1 0
geo_entity 1 0 0 738 1 0
external_data_source 0 0 4 638 0 1
opigno_certificate 0 0 4 534 0 1
field_group_label 0 0 3 523 0 1
year 0 0 1 476 0 1
coloris 1 0 0 437 1 0
ik_constant_contact 0 0 3 424 0 1
typed_link 0 0 4 419 0 1
search_overrides 0 0 3 409 0 1
ex_icons 0 0 1 400 0 1
entity_comparison 0 0 4 399 0 1
datafield 3 0 0 369 2 0
ad 0 0 3 364 0 1
dismissible_message_bar 0 0 1 364 0 1
pluginreference 0 0 4 346 0 2
colossal_menu 1 0 0 340 1 0
search_api_field_map 0 0 6 330 0 1
shorthand 0 0 4 329 0 1
ai_integration_eca 0 1 0 304 1 4
reference_value_pair 7 0 7 289 1 1
tool 1 0 0 289 1 0
cas_server 0 0 2 277 0 2
context_stack 1 0 0 277 1 0
wse 1 0 0 267 1 0
xnumber 0 0 2 267 0 4
phonenumber 0 0 2 240 0 1
entity_reference_uuid 2 0 2 233 1 1
block_content_machine_name 3 0 0 232 1 0
rdf_skos 0 0 1 230 0 1
event 2 0 0 220 1 0
icons 0 0 2 216 0 1
field_nif 0 0 2 209 0 1
tweet_feed 0 0 2 196 0 1
kaltura_media 2 0 0 191 1 0
commerce_product_menu_ui 0 0 1 163 0 1
triples_field 1 0 0 162 1 0
comment_limit 0 0 2 157 0 1
allow_only_one 0 0 3 155 0 1
rut 0 0 1 153 0 1
flexfield 0 0 2 150 0 1
cl_components 2 0 0 124 1 0
commerce_product_review 0 0 6 123 0 1
rocketship_core 0 0 52 122 0 4
number_double 0 0 1 119 0 1
link_allowed_hosts 4 0 0 111 1 0
permission_watchdog 1 0 0 111 1 0
lms 4 0 0 99 2 0
tripal 0 0 11 94 0 3
issuu_viewer 0 0 2 90 0 1
sendinblue_api 0 0 1 83 0 1
json_template 0 0 1 71 0 1
conditional_rendering 1 0 0 66 1 0
xero 0 4 0 66 10 11
search_api_federated_solr 0 0 7 65 0 2
jsonapi_reference 0 0 2 58 0 1
doi_field 0 0 2 46 0 1
vgwort 0 0 8 43 0 1
commerce_recruiting 3 0 0 35 1 0
more_fields 0 0 1 34 0 2
commerce_novaposhta 0 0 2 31 0 1
entity_workflow 0 0 1 31 0 1
template_suggester 0 0 3 28 0 1
patternkit 0 0 24 27 0 1
experience_builder 10 9 0 20 5 7
moodle_rest 0 0 5 20 0 1
svg_sprite 0 0 3 20 0 1
sshkey 1 0 0 19 1 0
contacts 0 0 8 18 0 2
bibleref 2 0 0 17 1 0
date_point 2 0 0 16 5 0
content_remote_options 0 0 2 13 0 1
double_reference 3 0 0 13 1 0
entity_attributes 0 0 1 13 0 1
monster_menus 0 0 10 13 0 2
anonymous_author 0 0 1 12 0 1
field_color 0 0 1 12 0 1
user_referral 0 0 3 12 0 1
bridtv 0 0 6 11 0 1
commerce_partial_payments 0 0 2 9 0 1
linked_data_field 0 0 1 9 0 1
access_conditions 2 0 0 7 1 0
authenticate_by_mail 0 0 3 7 0 1
sendpulse_api 0 0 2 7 0 1
style_entity 1 0 0 7 1 0
livre 0 1 0 6 2 2
stripe_customer_portal 0 0 2 6 0 1
url_text 0 0 2 6 0 2
social_auth_account_verification 1 0 0 5 1 0
bsn_field 0 0 3 4 0 1
cl_selector_field 2 0 0 4 1 0
inline_image_saver 0 0 1 4 0 1
modules_info 0 0 1 4 0 1
entity_sync 0 0 2 3 0 1
nested_set 1 0 0 3 1 0
site 5 0 1 3 1 1
css_size_field 0 0 1 2 0 1
moosend_ems 0 0 1 1 0 1
entity_switcher 1 0 1 0 1 1
mastodon 0 0 2 0 0 1
oembed_field 0 0 1 0 0 1