It's all in the title.
Issue fork domain_path-3573947
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
It's all in the title.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedPatch converting all procedural hooks to OOP
#[Hook]classes with#[LegacyHook]wrappers for Drupal 10.6 backward compatibility.New files
src/Hook/DomainPathEntityHooks.php—entity_delete,entity_base_field_info,entity_type_alter,validation_constraint_altersrc/Hook/DomainPathFormHooks.php—form_alter,domain_source_altermodules/domain_path_pathauto/src/Hook/DomainPathPathautoHooks.php—field_info_alter,field_widget_info_alter,entity_delete,domain_deleteModified files
domain_path.services.yml— added class aliases forDomainPathHelperandDomainAliasManagerInterface(needed for autowiring), plus hook class registrationsdomain_path.module— replaced 6 hook bodies with#[LegacyHook]+ delegationdomain_path_pathauto.services.yml— added_defaultsblock (autoconfigure/autowire) and hook class registrationdomain_path_pathauto.module— replaced 4 hook bodies with#[LegacyHook]+ delegationNot converted (intentionally)
Install/update hooks remain procedural as per Drupal convention.
Tests
All 11 existing functional tests pass (149 assertions), no regressions.
Comment #5
mably commented