← all change records

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

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

Generated 2026-11-20 03: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 (181)

Project legacy in_flight migrated installs files adopters
ctools ↗ 0 2 0 496,827 1 3
address ↗ 0 0 3 123,641 2 2
entity_browser ↗ 1 0 0 99,237 1 1
geofield ↗ 0 0 2 67,928 0 1
color_field ↗ 0 0 2 47,113 1 1
smart_date ↗ 3 0 0 45,248 1 0
geolocation ↗ 0 0 2 44,331 0 1
commerce ↗ 0 0 2 38,138 2 2
dynamic_entity_reference ↗ 0 0 3 37,789 1 1
typed_data ↗ 0 0 1 33,992 0 3
state_machine ↗ 0 0 1 30,636 1 1
ai ↗ 5 4 0 27,603 1 1
simple_oauth ↗ 0 0 2 25,977 1 1
field_validation ↗ 0 0 1 25,563 0 44
eca ↗ 1 0 0 23,633 3 3
office_hours ↗ 0 0 2 23,275 2 2
samlauth ↗ 0 0 1 20,931 0 1
optional_end_date ↗ 0 0 2 18,287 1 1
contact_storage ↗ 0 0 1 16,739 0 1
book ↗ 1 0 2 14,709 4 4
physical ↗ 0 0 1 13,839 2 2
telephone ↗ 0 0 2 13,670 1 1
canvas ↗ 0 2 2 11,747 12 15
ui_icons ↗ 0 0 3 10,338 0 1
time_field ↗ 0 0 1 10,063 1 1
date_recur ↗ 0 0 3 9,556 0 1
ui_patterns ↗ 0 1 1 9,233 3 7
double_field ↗ 0 0 1 7,375 1 1
og ↗ 0 0 1 6,906 1 1
json_field ↗ 0 0 1 5,947 2 2
workbench_moderation ↗ 0 0 1 5,945 2 1
workflow ↗ 0 0 3 5,412 0 1
languagefield ↗ 0 0 1 4,980 1 1
country ↗ 0 0 3 4,806 1 1
duration_field ↗ 0 0 2 3,881 3 3
preview_link ↗ 0 0 2 3,283 0 2
filehash ↗ 2 0 0 3,153 1 1
paragraph_blocks ↗ 0 0 1 3,058 0 1
custom_field ↗ 4 0 0 3,044 6 1
commerce_wishlist ↗ 0 0 1 2,875 2 2
entity_reference_validators ↗ 0 0 2 2,779 0 1
tool ↗ 0 2 0 2,753 6 7
dimension ↗ 0 1 0 2,623 1 1
entity_hierarchy ↗ 0 0 4 2,550 1 2
tool_belt ↗ 0 0 1 2,392 0 1
phone_number ↗ 0 0 1 1,760 0 1
commerce_product_tax ↗ 0 0 1 1,741 1 1
field_image_style ↗ 0 0 1 1,543 0 1
acquia_dam ↗ 0 0 2 1,431 0 1
soundcloudfield ↗ 0 0 1 1,428 1 1
hours_minutes_seconds ↗ 0 0 1 1,288 1 1
bigint ↗ 0 0 2 947 1 1
ai_context ↗ 0 0 1 946 0 1
view_mode_selector ↗ 0 0 1 944 0 1
entity_extra_field ↗ 0 0 1 910 1 1
ai_integration_eca ↗ 0 0 1 896 1 4
machine_name ↗ 0 0 1 875 1 1
paragraphs_bundles ↗ 0 0 2 842 2 2
bootstrap_horizontal_tabs ↗ 0 0 1 722 1 1
mini_layouts ↗ 1 0 0 700 1 0
external_data_source ↗ 0 0 1 666 1 1
intelligencebank ↗ 3 0 0 596 1 1
table_of_contents ↗ 0 0 1 591 0 1
year ↗ 0 0 1 481 1 1
wse ↗ 1 0 0 451 2 2
pluginreference ↗ 0 0 2 426 1 2
ex_icons ↗ 0 0 1 397 0 1
entity_comparison ↗ 0 0 1 385 1 1
datafield ↗ 2 0 0 378 2 2
dismissible_message_bar ↗ 0 0 1 374 1 1
ik_constant_contact ↗ 0 0 2 366 0 1
shorthand ↗ 0 0 1 357 1 1
commerce_vado ↗ 0 0 1 355 1 1
reference_value_pair ↗ 1 0 1 351 1 1
field_group_label ↗ 0 0 1 324 1 1
cas_server ↗ 0 0 1 289 0 2
rdf_skos ↗ 0 0 1 281 1 1
typed_link ↗ 0 0 1 281 0 1
entity_reference_uuid ↗ 0 0 2 278 2 2
phonenumber ↗ 0 0 2 272 1 1
lms ↗ 2 0 0 254 2 0
field_ipaddress ↗ 0 0 1 242 1 1
media_entity_remote_image ↗ 0 0 1 241 1 1
safeword ↗ 0 0 1 228 1 1
event ↗ 2 0 0 220 1 0
allow_only_one ↗ 0 0 1 191 1 1
commerce_product_review ↗ 0 0 4 185 1 1
field_nif ↗ 0 0 1 183 1 1
icons ↗ 0 0 1 178 0 1
entity_workflow ↗ 0 0 1 164 1 1
commerce_product_menu_ui ↗ 0 0 1 159 1 1
flexfield ↗ 0 0 1 151 1 1
triples_field ↗ 1 0 0 131 1 1
number_double ↗ 0 0 1 127 2 2
rut ↗ 0 0 1 118 1 1
rocketship_core ↗ 0 0 12 112 2 4
vgwort ↗ 0 0 2 99 1 1
tripal ↗ 0 0 1 94 3 3
content_moderation_info_block ↗ 1 0 0 89 1 0
sendinblue_api ↗ 0 0 1 81 0 1
ai_disclosure ↗ 0 0 1 76 0 1
jsonapi_reference ↗ 0 0 1 64 1 1
curated_colors ↗ 0 0 2 60 1 1
json_template ↗ 0 0 1 59 0 1
conditional_rendering ↗ 1 0 0 55 1 1
xero ↗ 0 2 0 54 10 11
field_nif_nie_cif ↗ 0 0 1 53 1 1
canvas_builder ↗ 0 0 1 51 1 1
doi_field ↗ 0 0 1 50 1 1
patternkit ↗ 0 0 1 44 0 1
search_web_components ↗ 0 0 1 43 0 1
template_suggester ↗ 0 0 1 36 1 1
svg_sprite ↗ 0 0 3 34 1 1
commerce_recruiting ↗ 1 0 0 33 1 0
compound_field ↗ 2 0 2 31 3 4
advanced_header_field ↗ 0 0 1 29 1 1
field_color ↗ 0 0 1 22 1 1
date_point ↗ 1 0 0 20 5 5
double_reference ↗ 1 0 0 19 1 0
starry_rating ↗ 0 0 1 18 0 1
bibleref ↗ 2 0 0 16 1 0
entity_attributes ↗ 0 0 1 16 0 1
droost ↗ 1 0 0 14 1 1
anonymous_author ↗ 0 0 1 12 1 1
contacts ↗ 0 0 2 12 1 2
modules_info ↗ 0 0 1 12 0 1
monster_menus ↗ 0 0 4 12 0 2
sshkey ↗ 1 0 0 12 1 1
donorperfect ↗ 0 0 1 11 0 1
livre ↗ 0 1 0 11 4 4
theming_tools ↗ 0 0 1 11 1 1
json_schema_fields ↗ 0 0 2 10 1 2
maper ↗ 0 0 1 10 0 1
experience_builder ↗ 0 4 0 9 21 21
views_board ↗ 0 0 1 9 1 1
saudi_id_validator ↗ 0 0 2 8 0 1
sites ↗ 1 0 0 8 1 1
canvas_studio_tailwind ↗ 0 0 1 7 0 1
leaflet_countries ↗ 0 0 1 7 0 1
linked_data_field ↗ 0 0 1 7 1 1
authenticate_by_mail ↗ 0 0 2 6 0 1
bsn_field ↗ 0 0 2 6 1 1
mautic_audiences ↗ 0 0 1 6 1 1
url_text ↗ 0 0 1 6 2 2
inline_image_saver ↗ 0 0 1 5 1 1
social_auth_account_verification ↗ 2 0 0 5 1 0
commerce_product_alternative ↗ 0 0 1 4 1 1
currency_field ↗ 0 0 2 4 1 1
gtfs ↗ 2 0 0 4 1 0
matrix_field ↗ 0 0 1 4 1 1
mcp_sentinel ↗ 0 0 1 4 2 2
puzzler ↗ 0 0 1 4 0 1
qr_link_field ↗ 0 0 1 4 1 1
color_picker_field ↗ 0 0 1 3 1 1
site ↗ 3 0 1 3 1 2
workspace_config ↗ 0 0 1 3 2 2
content_builder ↗ 0 0 1 2 1 1
css_size_field ↗ 0 0 1 2 1 1
x402_pay ↗ 0 0 2 2 0 1
entity_template ↗ 1 0 1 1 1 1
file_share ↗ 0 0 1 1 0 1
free_schema ↗ 0 0 1 1 1 1
lottie_file ↗ 0 0 1 1 1 1
physical_multi ↗ 0 0 1 1 1 1
resourcespace ↗ 0 0 1 1 2 2
transcribe ↗ 0 0 1 1 0 1
a11y_constraints ↗ 0 0 1 0 0 1
ai_decision_log ↗ 0 0 1 0 0 1
cloud ↗ 0 0 2 0 1 1
consumer_node_preview ↗ 0 0 1 0 0 1
date_uncertain ↗ 0 0 1 0 0 1
display_builder_page_manager ↗ 0 0 1 0 0 2
literals ↗ 0 0 1 0 0 1
luzmo_viewer ↗ 1 0 0 0 1 1
mosaic ↗ 0 0 1 0 0 1
oembed_field ↗ 0 0 1 0 1 1
oneblink_form_embed ↗ 0 0 2 0 0 1
paragraphs_frontend_editor ↗ 0 0 1 0 0 1
scheduling ↗ 0 0 1 0 0 1
typed_data_plus ↗ 0 1 1 0 1 2
xdate ↗ 0 0 1 0 0 2