Install
Works with Drupal: ^9.3 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Remove dependency on ctools, Drupal 10 compatibility
IMPORTANT: Removal of ctools dependency
Pathauto no longer has a runtime dependency on the ctools module. This might cause problems if other modules implicitly use ctools functionality without depending on it.
Note that for backwards compatibility, the composer definition still depends on the ctools project, but it's no longer installed on new projects and existing projects may uninstall it if they are not using it.
The composer definition is there so that existing sites do not automatically have the code removed underneath them and continue to work. This will be removed in the future in a new major version. It is recommended to either add an explicit dependency on ctools if you plan to keep using it or uninstall it.
To fully remove ctools from the project, add a replace section to the root composer.json:
"replace": {
"drupal/ctools": "*"
},
Note that this will also skip it in case another module depends on it and the definition will need to be removed then.
Before uninstalling ctools, verify that no configuration dependencies remain on pathauto patterns or other config entities. Pathauto patterns should have that dependency removed automatically when resaving them.
Contributors (6)
Berdir, benjifisher, S_Bhandari, Ada Hernandez, JeroenT, joelpittet
Changelog
Issues: 3 issues resolved.
Changes since 8.x-1.10:
Bug
- #3266631 by Berdir, joelpittet, JeroenT:
Drupal 10 compatibility, require Drupal 9.3
Task
- #3293221 by Berdir, benjifisher, S_Bhandari, Ada Hernandez: D10: ModuleHandler::getImplementations() deprecation
- #3222775 by Berdir, JeroenT: Remove dependency on CTools